Class: Twilio::REST::Numbers::V1::PortingPortInPhoneNumberListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Numbers::V1::PortingPortInPhoneNumberListResponse
- Defined in:
- lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb,
lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ PortingPortInPhoneNumberListResponse
constructor
A new instance of PortingPortInPhoneNumberListResponse.
- #porting_port_in_phone_number ⇒ Object
- #porting_port_in_phone_number_instance ⇒ Object
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ PortingPortInPhoneNumberListResponse
Returns a new instance of PortingPortInPhoneNumberListResponse.
189 190 191 192 193 194 195 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb', line 189 def initialize(version, payload, key) @porting_port_in_phone_number_instance = payload.body[key].map do |data| PortingPortInPhoneNumberInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
282 283 284 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb', line 282 def headers @headers end |
#porting_port_in_phone_number ⇒ Object
278 279 280 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb', line 278 def porting_port_in_phone_number @porting_port_in_phone_number end |
#porting_port_in_phone_number_instance ⇒ Object
197 198 199 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb', line 197 def porting_port_in_phone_number_instance @instance end |
#status_code ⇒ Object
286 287 288 |
# File 'lib/twilio-ruby/rest/numbers/v1/porting_port_in_phone_number.rb', line 286 def status_code @status_code end |