Class: Twilio::REST::Messaging::V1::ServiceContext::DestinationAlphaSenderListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Messaging::V1::ServiceContext::DestinationAlphaSenderListResponse
- Defined in:
- lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb,
lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb
Instance Method Summary collapse
- #destination_alpha_sender ⇒ Object
- #destination_alpha_sender_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ DestinationAlphaSenderListResponse
constructor
A new instance of DestinationAlphaSenderListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ DestinationAlphaSenderListResponse
Returns a new instance of DestinationAlphaSenderListResponse.
372 373 374 375 376 377 378 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb', line 372 def initialize(version, payload, key) @destination_alpha_sender_instance = payload.body[key].map do |data| DestinationAlphaSenderInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#destination_alpha_sender ⇒ Object
461 462 463 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb', line 461 def destination_alpha_sender @destination_alpha_sender end |
#destination_alpha_sender_instance ⇒ Object
380 381 382 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb', line 380 def destination_alpha_sender_instance @instance end |
#headers ⇒ Object
465 466 467 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb', line 465 def headers @headers end |
#status_code ⇒ Object
469 470 471 |
# File 'lib/twilio-ruby/rest/messaging/v1/service/destination_alpha_sender.rb', line 469 def status_code @status_code end |