Class: Twilio::REST::Account

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/accounts.rb

Instance Method Summary collapse

Methods inherited from InstanceResource

#delete, #inspect, #method_missing, #refresh, #update

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client, params = {}) ⇒ Account

Returns a new instance of Account.



6
7
8
9
10
11
12
13
# File 'lib/twilio-ruby/rest/accounts.rb', line 6

def initialize(path, client, params={})
  super path, client, params
  resource :sandbox, :available_phone_numbers, :incoming_phone_numbers,
    :calls, :outgoing_caller_ids, :conferences, :sms, :recordings,
    :transcriptions, :notifications, :applications, :connect_apps,
    :authorized_connect_apps, :queues, :usage, :messages, :media, :sip,
    :tokens, :addresses
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Twilio::REST::InstanceResource