Class: Twilio::REST::Intelligence::V2::CustomOperatorListResponse
- Inherits:
-
Twilio::REST::InstanceListResource
- Object
- Twilio::REST::InstanceListResource
- Twilio::REST::Intelligence::V2::CustomOperatorListResponse
- Defined in:
- lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb,
lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb
Instance Method Summary collapse
- #custom_operator ⇒ Object
- #custom_operator_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CustomOperatorListResponse
constructor
A new instance of CustomOperatorListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CustomOperatorListResponse
Returns a new instance of CustomOperatorListResponse.
447 448 449 450 451 452 453 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 447 def initialize(version, payload, key) @custom_operator_instance = payload.body[key].map do |data| CustomOperatorInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#custom_operator ⇒ Object
536 537 538 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 536 def custom_operator @custom_operator end |
#custom_operator_instance ⇒ Object
455 456 457 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 455 def custom_operator_instance @instance end |
#headers ⇒ Object
540 541 542 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 540 def headers @headers end |
#status_code ⇒ Object
544 545 546 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 544 def status_code @status_code end |