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.
-
#brand ⇒ Object
readonly
Returns the value of attribute brand.
-
#call_feedback ⇒ Object
readonly
Returns the value of attribute call_feedback.
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#campaign ⇒ Object
readonly
Returns the value of attribute campaign.
-
#compliance_applications ⇒ Object
readonly
Returns the value of attribute compliance_applications.
-
#compliance_document_types ⇒ Object
readonly
Returns the value of attribute compliance_document_types.
-
#compliance_documents ⇒ Object
readonly
Returns the value of attribute compliance_documents.
-
#compliance_requirements ⇒ Object
readonly
Returns the value of attribute compliance_requirements.
-
#conferences ⇒ Object
readonly
Returns the value of attribute conferences.
-
#end_users ⇒ Object
readonly
Returns the value of attribute end_users.
-
#endpoints ⇒ Object
readonly
Returns the value of attribute endpoints.
-
#identities ⇒ Object
readonly
Returns the value of attribute identities.
-
#lookup ⇒ Object
readonly
Returns the value of attribute lookup.
-
#media ⇒ Object
readonly
Returns the value of attribute media.
-
#messages ⇒ Object
readonly
Resources.
-
#multipartycalls ⇒ Object
readonly
Returns the value of attribute multipartycalls.
-
#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.
-
#profile ⇒ Object
readonly
Returns the value of attribute profile.
-
#recordings ⇒ Object
readonly
Resources.
-
#subaccounts ⇒ Object
readonly
Resources.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
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.
22 23 24 25 26 |
# File 'lib/plivo/rest_client.rb', line 22 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.
13 14 15 |
# File 'lib/plivo/rest_client.rb', line 13 def addresses @addresses end |
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def applications @applications end |
#brand ⇒ Object (readonly)
Returns the value of attribute brand.
18 19 20 |
# File 'lib/plivo/rest_client.rb', line 18 def brand @brand end |
#call_feedback ⇒ Object (readonly)
Returns the value of attribute call_feedback.
14 15 16 |
# File 'lib/plivo/rest_client.rb', line 14 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 |
#campaign ⇒ Object (readonly)
Returns the value of attribute campaign.
18 19 20 |
# File 'lib/plivo/rest_client.rb', line 18 def campaign @campaign end |
#compliance_applications ⇒ Object (readonly)
Returns the value of attribute compliance_applications.
20 21 22 |
# File 'lib/plivo/rest_client.rb', line 20 def compliance_applications @compliance_applications end |
#compliance_document_types ⇒ Object (readonly)
Returns the value of attribute compliance_document_types.
20 21 22 |
# File 'lib/plivo/rest_client.rb', line 20 def compliance_document_types @compliance_document_types end |
#compliance_documents ⇒ Object (readonly)
Returns the value of attribute compliance_documents.
20 21 22 |
# File 'lib/plivo/rest_client.rb', line 20 def compliance_documents @compliance_documents end |
#compliance_requirements ⇒ Object (readonly)
Returns the value of attribute compliance_requirements.
20 21 22 |
# File 'lib/plivo/rest_client.rb', line 20 def compliance_requirements @compliance_requirements 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 |
#end_users ⇒ Object (readonly)
Returns the value of attribute end_users.
19 20 21 |
# File 'lib/plivo/rest_client.rb', line 19 def end_users @end_users end |
#endpoints ⇒ Object (readonly)
Returns the value of attribute endpoints.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def endpoints @endpoints end |
#identities ⇒ Object (readonly)
Returns the value of attribute identities.
13 14 15 |
# File 'lib/plivo/rest_client.rb', line 13 def identities @identities end |
#lookup ⇒ Object (readonly)
Returns the value of attribute lookup.
17 18 19 |
# File 'lib/plivo/rest_client.rb', line 17 def lookup @lookup end |
#media ⇒ Object (readonly)
Returns the value of attribute media.
16 17 18 |
# File 'lib/plivo/rest_client.rb', line 16 def media @media end |
#messages ⇒ Object (readonly)
Resources
9 10 11 |
# File 'lib/plivo/rest_client.rb', line 9 def @messages end |
#multipartycalls ⇒ Object (readonly)
Returns the value of attribute multipartycalls.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def multipartycalls @multipartycalls 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.
12 13 14 |
# File 'lib/plivo/rest_client.rb', line 12 def phone_numbers @phone_numbers end |
#powerpacks ⇒ Object (readonly)
Returns the value of attribute powerpacks.
15 16 17 |
# File 'lib/plivo/rest_client.rb', line 15 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 |
#profile ⇒ Object (readonly)
Returns the value of attribute profile.
18 19 20 |
# File 'lib/plivo/rest_client.rb', line 18 def profile @profile 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 |
#token ⇒ Object (readonly)
Returns the value of attribute token.
11 12 13 |
# File 'lib/plivo/rest_client.rb', line 11 def token @token end |