Class: Plivo::Resources::AccountInterface
- Inherits:
-
Base::ResourceInterface
- Object
- Base::ResourceInterface
- Plivo::Resources::AccountInterface
- Defined in:
- lib/plivo/resources/accounts.rb
Constant Summary
Constants included from Utils
Instance Method Summary collapse
- #details ⇒ Object
-
#initialize(client, resource_list_json = nil) ⇒ AccountInterface
constructor
A new instance of AccountInterface.
- #update(details) ⇒ Object
Methods included from Utils
expected_type?, expected_value?, raise_invalid_request, valid_account?, valid_mainaccount?, valid_param?, valid_signature?, valid_subaccount?
Constructor Details
#initialize(client, resource_list_json = nil) ⇒ AccountInterface
Returns a new instance of AccountInterface.
165 166 167 168 169 170 |
# File 'lib/plivo/resources/accounts.rb', line 165 def initialize(client, resource_list_json = nil) @_name = 'Account' @_resource_type = Account @_identifier_string = 'auth_id' super end |
Instance Method Details
#details ⇒ Object
172 173 174 |
# File 'lib/plivo/resources/accounts.rb', line 172 def details perform_get(@_client.auth_id) end |