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



3
4
5
# File 'lib/tijuana_client/user.rb', line 3

def base_path
  'users'
end

#create(params) ⇒ Object



7
8
9
# File 'lib/tijuana_client/user.rb', line 7

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