Class: Calendlyr::UserResource
Constant Summary
Constants inherited
from Resource
Resource::ERROR_CODES
Instance Attribute Summary
Attributes inherited from Resource
#client
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
Instance Method Details
3
4
5
|
# File 'lib/calendlyr/resources/user.rb', line 3
def me
retrieve(uuid: "me")
end
|
#retrieve(uuid:) ⇒ Object
7
8
9
|
# File 'lib/calendlyr/resources/user.rb', line 7
def retrieve(uuid:)
User.new get_request("users/#{uuid}").dig("resource").merge(client: client)
end
|