Class: Twilio::REST::Numbers::V1::PortingPortInListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Numbers::V1::PortingPortInListResponse
- Defined in:
- lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb,
lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ PortingPortInListResponse
constructor
A new instance of PortingPortInListResponse.
- #porting_port_in ⇒ Object
- #porting_port_in_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ PortingPortInListResponse
320 321 322 323 324 325 326 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 320 def initialize(version, payload, key) @porting_port_in_instance = payload.body[key].map do |data| PortingPortInInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
413 414 415 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 413 def headers @headers end |
#porting_port_in ⇒ Object
409 410 411 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 409 def porting_port_in @porting_port_in end |
#porting_port_in_instance ⇒ Object
328 329 330 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 328 def porting_port_in_instance @instance end |
#status_code ⇒ Object
417 418 419 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in.rb', line 417 def status_code @status_code end |