class Plivo::Resources::AccountInterface
Public Class Methods
Source
# 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
Calls superclass method
Plivo::Base::ResourceInterface::new
Public Instance Methods
Source
# File lib/plivo/resources/accounts.rb, line 172 def details perform_get(@_client.auth_id) end
Source
# File lib/plivo/resources/accounts.rb, line 176 def update(details) Account.new(@_client, resource_id: @_client.auth_id).update(details) end