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
GetSortedQueryParamString?, compute_signatureV3?, expected_type?, expected_value?, generate_url?, getMapFromQueryString?, is_one_among_string_url?, multi_valid_param?, raise_invalid_request, valid_account?, valid_date_format?, valid_mainaccount?, valid_multiple_destination_integers?, valid_multiple_destination_nos?, valid_param?, valid_range?, valid_signature?, valid_signatureV3?, valid_subaccount?, valid_url?
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 |