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
Instance Method Summary collapse
-
#initialize(version, payload, key) ⇒ PortingPortInPhoneNumberListResponse
constructor
A new instance of PortingPortInPhoneNumberListResponse.
- #porting_port_in_phone_number_instance ⇒ Object
Constructor Details
#initialize(version, payload, key) ⇒ 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
#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 |