Class: Betsy::User

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/betsy/user.rb

Class Method Summary collapse

Methods included from Model

included, #initialize

Class Method Details

.get_me(options = {}) ⇒ Object



18
19
20
# File 'lib/betsy/user.rb', line 18

def self.get_me(options = {})
  make_request(:get, "/v3/application/users/me", options)
end

.get_user(user_id, options = {}) ⇒ Object



14
15
16
# File 'lib/betsy/user.rb', line 14

def self.get_user(user_id, options = {})
  make_request(:get, "/v3/application/users/#{user_id}", options)
end