Class: Twilio::REST::Memory::V1::StoreListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Memory::V1::StoreListResponse
- Defined in:
- lib/twilio-ruby/rest/memory/v1/store.rb,
lib/twilio-ruby/rest/memory/v1/store.rb
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ StoreListResponse
constructor
A new instance of StoreListResponse.
- #status_code ⇒ Object
- #store ⇒ Object
- #store_instance ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ StoreListResponse
Returns a new instance of StoreListResponse.
488 489 490 491 492 493 494 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 488 def initialize(version, payload, key) @store_instance = payload.body[key].map do |data| StoreInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#headers ⇒ Object
582 583 584 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 582 def headers @headers end |
#status_code ⇒ Object
586 587 588 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 586 def status_code @status_code end |
#store ⇒ Object
578 579 580 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 578 def store @store end |
#store_instance ⇒ Object
496 497 498 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 496 def store_instance @instance end |