Class: BabyTooth::User
Instance Attribute Summary
Attributes inherited from Client
#access_token, #body, #path
Instance Method Summary
collapse
Methods inherited from Client
#[], #resource_class_name
Constructor Details
#initialize(access_token) ⇒ User
Returns a new instance of User.
62
63
64
65
66
|
# File 'lib/baby_tooth.rb', line 62
def initialize(access_token)
super access_token, '/user'
@profile = Profile.new(access_token, self['profile'])
end
|