Class: Twilio::REST::Supersim::V1::EsimProfileListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Supersim::V1::EsimProfileListResponse
- Defined in:
- lib/twilio-ruby/rest/supersim/v1/esim_profile.rb,
lib/twilio-ruby/rest/supersim/v1/esim_profile.rb
Instance Method Summary collapse
- #esim_profile ⇒ Object
- #esim_profile_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ EsimProfileListResponse
constructor
A new instance of EsimProfileListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ EsimProfileListResponse
Returns a new instance of EsimProfileListResponse.
369 370 371 372 373 374 375 |
# File 'lib/twilio-ruby/rest/supersim/v1/esim_profile.rb', line 369 def initialize(version, payload, key) @esim_profile_instance = payload.body[key].map do |data| EsimProfileInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#esim_profile ⇒ Object
458 459 460 |
# File 'lib/twilio-ruby/rest/supersim/v1/esim_profile.rb', line 458 def esim_profile @esim_profile end |
#esim_profile_instance ⇒ Object
377 378 379 |
# File 'lib/twilio-ruby/rest/supersim/v1/esim_profile.rb', line 377 def esim_profile_instance @instance end |
#headers ⇒ Object
462 463 464 |
# File 'lib/twilio-ruby/rest/supersim/v1/esim_profile.rb', line 462 def headers @headers end |
#status_code ⇒ Object
466 467 468 |
# File 'lib/twilio-ruby/rest/supersim/v1/esim_profile.rb', line 466 def status_code @status_code end |