Module: TenThousandFeet::API::Users

Included in:
Client
Defined in:
lib/ten_thousand_feet/api/users.rb

Instance Method Summary collapse

Instance Method Details

#create_user(options = {}) ⇒ Object



12
13
14
# File 'lib/ten_thousand_feet/api/users.rb', line 12

def create_user(options = {})
  post('/users', options)
end

#get_users(options = {}) ⇒ Object



4
5
6
# File 'lib/ten_thousand_feet/api/users.rb', line 4

def get_users(options = {})
  get('/users', options)
end

#show_user(id, options = {}) ⇒ Object



8
9
10
# File 'lib/ten_thousand_feet/api/users.rb', line 8

def show_user(id, options = {})
  get("/users/#{id}", options)
end

#update_user(id, options = {}) ⇒ Object



16
17
18
# File 'lib/ten_thousand_feet/api/users.rb', line 16

def update_user(id, options = {})
  put("/users/#{id}", options)
end