Class: Twilio::REST::Routes::V3::IsoCountryCodeListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Routes::V3::IsoCountryCodeListResponse
- Defined in:
- lib/twilio-ruby/rest/routes/v3/iso_country_code.rb
Instance Method Summary collapse
-
#initialize(version, payload, key) ⇒ IsoCountryCodeListResponse
constructor
A new instance of IsoCountryCodeListResponse.
- #iso_country_code_instance ⇒ Object
Constructor Details
#initialize(version, payload, key) ⇒ IsoCountryCodeListResponse
Returns a new instance of IsoCountryCodeListResponse.
225 226 227 228 229 230 231 |
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 225 def initialize(version, payload, key) @iso_country_code_instance = payload.body[key].map do |data| IsoCountryCodeInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#iso_country_code_instance ⇒ Object
233 234 235 |
# File 'lib/twilio-ruby/rest/routes/v3/iso_country_code.rb', line 233 def iso_country_code_instance @instance end |