Class: GuestyAPI::Accounts
- Inherits:
-
ResourceBase
- Object
- ResourceBase
- GuestyAPI::Accounts
- Defined in:
- lib/guesty_api/accounts.rb
Instance Method Summary collapse
Methods inherited from ResourceBase
Constructor Details
This class inherits a constructor from GuestyAPI::ResourceBase
Instance Method Details
#retrieve ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/guesty_api/accounts.rb', line 5 def retrieve response = @client.get url: '/accounts/me' check_response! response single_entity response end |