Class: TijuanaClient::User

Inherits:
Base
  • Object
show all
Defined in:
lib/tijuana_client/user.rb

Instance Method Summary collapse

Methods inherited from Base

#normalized_base_path

Instance Method Details

#base_pathObject



5
6
7
# File 'lib/tijuana_client/user.rb', line 5

def base_path
  'users'
end

#create(params) ⇒ Object



9
10
11
# File 'lib/tijuana_client/user.rb', line 9

def create(params)
  client.post_json_request(normalized_base_path, params)
end