Class: Plivo::RestClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- Plivo::RestClient
- Defined in:
- lib/plivo/rest_client.rb
Instance Attribute Summary collapse
-
#account ⇒ Object
readonly
Resources.
-
#addresses ⇒ Object
readonly
Returns the value of attribute addresses.
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#call_feedback ⇒ Object
readonly
Returns the value of attribute call_feedback.
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#conferences ⇒ Object
readonly
Returns the value of attribute conferences.
-
#endpoints ⇒ Object
readonly
Returns the value of attribute endpoints.
-
#identities ⇒ Object
readonly
Returns the value of attribute identities.
-
#media ⇒ Object
readonly
Returns the value of attribute media.
-
#messages ⇒ Object
readonly
Resources.
-
#numbers ⇒ Object
readonly
Returns the value of attribute numbers.
-
#phone_numbers ⇒ Object
readonly
Returns the value of attribute phone_numbers.
-
#powerpacks ⇒ Object
readonly
Returns the value of attribute powerpacks.
-
#pricings ⇒ Object
readonly
Returns the value of attribute pricings.
-
#recordings ⇒ Object
readonly
Resources.
-
#subaccounts ⇒ Object
readonly
Resources.
Attributes inherited from BaseClient
Instance Method Summary collapse
-
#initialize(auth_id = nil, auth_token = nil, proxy_options = nil, timeout = 5) ⇒ RestClient
constructor
A new instance of RestClient.
Methods inherited from BaseClient
#auth_id, #process_response, #send_request
Constructor Details
#initialize(auth_id = nil, auth_token = nil, proxy_options = nil, timeout = 5) ⇒ RestClient
Returns a new instance of RestClient.
17 18 19 20 21 |
# File 'lib/plivo/rest_client.rb', line 17 def initialize(auth_id = nil, auth_token = nil, = nil, timeout=5) configure_base_uri super configure_interfaces end |
Instance Attribute Details
#account ⇒ Object (readonly)
Resources
9 10 11 |
# File 'lib/plivo/rest_client.rb', line 9 def account @account end |
#addresses ⇒ Object (readonly)
Returns the value of attribute addresses.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def addresses @addresses end |
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
11 12 13 |
# File 'lib/plivo/rest_client.rb', line 11 def applications @applications end |
#call_feedback ⇒ Object (readonly)
Returns the value of attribute call_feedback.
13 14 15 |
# File 'lib/plivo/rest_client.rb', line 13 def call_feedback @call_feedback end |
#calls ⇒ Object (readonly)
Returns the value of attribute calls.
10 11 12 |
# File 'lib/plivo/rest_client.rb', line 10 def calls @calls end |
#conferences ⇒ Object (readonly)
Returns the value of attribute conferences.
10 11 12 |
# File 'lib/plivo/rest_client.rb', line 10 def conferences @conferences end |
#endpoints ⇒ Object (readonly)
Returns the value of attribute endpoints.
11 12 13 |
# File 'lib/plivo/rest_client.rb', line 11 def endpoints @endpoints end |
#identities ⇒ Object (readonly)
Returns the value of attribute identities.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def identities @identities end |
#media ⇒ Object (readonly)
Returns the value of attribute media.
15 16 17 |
# File 'lib/plivo/rest_client.rb', line 15 def media @media end |
#messages ⇒ Object (readonly)
Resources
9 10 11 |
# File 'lib/plivo/rest_client.rb', line 9 def @messages end |
#numbers ⇒ Object (readonly)
Returns the value of attribute numbers.
10 11 12 |
# File 'lib/plivo/rest_client.rb', line 10 def numbers @numbers end |
#phone_numbers ⇒ Object (readonly)
Returns the value of attribute phone_numbers.
11 12 13 |
# File 'lib/plivo/rest_client.rb', line 11 def phone_numbers @phone_numbers end |
#powerpacks ⇒ Object (readonly)
Returns the value of attribute powerpacks.
14 15 16 |
# File 'lib/plivo/rest_client.rb', line 14 def powerpacks @powerpacks end |
#pricings ⇒ Object (readonly)
Returns the value of attribute pricings.
10 11 12 |
# File 'lib/plivo/rest_client.rb', line 10 def pricings @pricings end |
#recordings ⇒ Object (readonly)
Resources
9 10 11 |
# File 'lib/plivo/rest_client.rb', line 9 def recordings @recordings end |
#subaccounts ⇒ Object (readonly)
Resources
9 10 11 |
# File 'lib/plivo/rest_client.rb', line 9 def subaccounts @subaccounts end |