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