Class: Tomba::Account
Overview
Account service for retrieving account information.
Provides methods to get the current account details.
Instance Method Summary collapse
-
#get_account ⇒ Hash
Get Account.
Methods inherited from Service
Constructor Details
This class inherits a constructor from Tomba::Service
Instance Method Details
#get_account ⇒ Hash
Get Account
Returns information about the current account.
17 18 19 20 21 22 23 24 25 |
# File 'lib/tomba/services/account.rb', line 17 def get_account path = '/me' params = {} @client.call('get', path, { 'content-type' => 'application/json' }, params) end |