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.
451 452 453 454 455 456 457 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 451 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
545 546 547 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 545 def headers @headers end |
#status_code ⇒ Object
549 550 551 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 549 def status_code @status_code end |
#store ⇒ Object
541 542 543 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 541 def store @store end |
#store_instance ⇒ Object
459 460 461 |
# File 'lib/twilio-ruby/rest/memory/v1/store.rb', line 459 def store_instance @instance end |