Class: SignalWire::REST::Namespaces::CompatNamespace
- Inherits:
-
Object
- Object
- SignalWire::REST::Namespaces::CompatNamespace
- Defined in:
- lib/signalwire/rest/namespaces/compat.rb
Overview
Twilio-compatible LAML API namespace.
Instance Attribute Summary collapse
-
#accounts ⇒ Object
readonly
Returns the value of attribute accounts.
-
#applications ⇒ Object
readonly
Returns the value of attribute applications.
-
#calls ⇒ Object
readonly
Returns the value of attribute calls.
-
#conferences ⇒ Object
readonly
Returns the value of attribute conferences.
-
#faxes ⇒ Object
readonly
Returns the value of attribute faxes.
-
#laml_bins ⇒ Object
readonly
Returns the value of attribute laml_bins.
-
#messages ⇒ Object
readonly
Returns the value of attribute messages.
-
#phone_numbers ⇒ Object
readonly
Returns the value of attribute phone_numbers.
-
#queues ⇒ Object
readonly
Returns the value of attribute queues.
-
#recordings ⇒ Object
readonly
Returns the value of attribute recordings.
-
#tokens ⇒ Object
readonly
Returns the value of attribute tokens.
-
#transcriptions ⇒ Object
readonly
Returns the value of attribute transcriptions.
Instance Method Summary collapse
-
#initialize(http, account_sid) ⇒ CompatNamespace
constructor
A new instance of CompatNamespace.
Constructor Details
#initialize(http, account_sid) ⇒ CompatNamespace
Returns a new instance of CompatNamespace.
210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 210 def initialize(http, account_sid) base = "/api/laml/2010-04-01/Accounts/#{account_sid}" @accounts = CompatAccounts.new(http) @calls = CompatCalls.new(http, "#{base}/Calls") @messages = CompatMessages.new(http, "#{base}/Messages") @faxes = CompatFaxes.new(http, "#{base}/Faxes") @conferences = CompatConferences.new(http, "#{base}/Conferences") @phone_numbers = CompatPhoneNumbers.new(http, "#{base}/IncomingPhoneNumbers") @applications = CompatApplications.new(http, "#{base}/Applications") @laml_bins = CompatLamlBins.new(http, "#{base}/LamlBins") @queues = CompatQueues.new(http, "#{base}/Queues") @recordings = CompatRecordings.new(http, "#{base}/Recordings") @transcriptions = CompatTranscriptions.new(http, "#{base}/Transcriptions") @tokens = CompatTokens.new(http, "#{base}/tokens") end |
Instance Attribute Details
#accounts ⇒ Object (readonly)
Returns the value of attribute accounts.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def accounts @accounts end |
#applications ⇒ Object (readonly)
Returns the value of attribute applications.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def applications @applications end |
#calls ⇒ Object (readonly)
Returns the value of attribute calls.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def calls @calls end |
#conferences ⇒ Object (readonly)
Returns the value of attribute conferences.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def conferences @conferences end |
#faxes ⇒ Object (readonly)
Returns the value of attribute faxes.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def faxes @faxes end |
#laml_bins ⇒ Object (readonly)
Returns the value of attribute laml_bins.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def laml_bins @laml_bins end |
#messages ⇒ Object (readonly)
Returns the value of attribute messages.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def @messages end |
#phone_numbers ⇒ Object (readonly)
Returns the value of attribute phone_numbers.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def phone_numbers @phone_numbers end |
#queues ⇒ Object (readonly)
Returns the value of attribute queues.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def queues @queues end |
#recordings ⇒ Object (readonly)
Returns the value of attribute recordings.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def recordings @recordings end |
#tokens ⇒ Object (readonly)
Returns the value of attribute tokens.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def tokens @tokens end |
#transcriptions ⇒ Object (readonly)
Returns the value of attribute transcriptions.
206 207 208 |
# File 'lib/signalwire/rest/namespaces/compat.rb', line 206 def transcriptions @transcriptions end |