Class: Twilio::REST::Supersim::V1::IpCommandListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Supersim::V1::IpCommandListResponse
- Defined in:
- lib/twilio-ruby/rest/supersim/v1/ip_command.rb,
lib/twilio-ruby/rest/supersim/v1/ip_command.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ IpCommandListResponse
constructor
A new instance of IpCommandListResponse.
- #ip_command ⇒ Object
- #ip_command_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ IpCommandListResponse
Returns a new instance of IpCommandListResponse.
381 382 383 384 385 386 387 |
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 381 def initialize(version, payload, key) @ip_command_instance = payload.body[key].map do |data| IpCommandInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
474 475 476 |
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 474 def headers @headers end |
#ip_command ⇒ Object
470 471 472 |
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 470 def ip_command @ip_command end |
#ip_command_instance ⇒ Object
389 390 391 |
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 389 def ip_command_instance @instance end |
#status_code ⇒ Object
478 479 480 |
# File 'lib/twilio-ruby/rest/supersim/v1/ip_command.rb', line 478 def status_code @status_code end |