Module: Pagoda::Apis::User

Included in:
Client
Defined in:
lib/pagoda-client/apis/user.rb

Instance Method Summary collapse

Instance Method Details

#user_add_key(key) ⇒ Object



8
9
10
# File 'lib/pagoda-client/apis/user.rb', line 8

def user_add_key(key)
  post("/account/keys.json", {:ssh_key => { :key => key }})
end

#user_infoObject



4
5
6
# File 'lib/pagoda-client/apis/user.rb', line 4

def 
  json get("/account.json")
end