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.
455 456 457 458 459 460 461 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 455 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
544 545 546 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 544 def custom_operator @custom_operator end |
#custom_operator_instance ⇒ Object
463 464 465 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 463 def custom_operator_instance @instance end |
#headers ⇒ Object
548 549 550 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 548 def headers @headers end |
#status_code ⇒ Object
552 553 554 |
# File 'lib/twilio-ruby/rest/intelligence/v2/custom_operator.rb', line 552 def status_code @status_code end |