Class: Twilio::REST::Studio::V2::FlowListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Studio::V2::FlowListResponse
- Defined in:
- lib/twilio-ruby/rest/studio/v2/flow.rb,
lib/twilio-ruby/rest/studio/v2/flow.rb
Instance Method Summary collapse
- #flow ⇒ Object
- #flow_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ FlowListResponse
constructor
A new instance of FlowListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ FlowListResponse
Returns a new instance of FlowListResponse.
516 517 518 519 520 521 522 |
# File 'lib/twilio-ruby/rest/studio/v2/flow.rb', line 516 def initialize(version, payload, key) @flow_instance = payload.body[key].map do |data| FlowInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#flow ⇒ Object
605 606 607 |
# File 'lib/twilio-ruby/rest/studio/v2/flow.rb', line 605 def flow @flow end |
#flow_instance ⇒ Object
524 525 526 |
# File 'lib/twilio-ruby/rest/studio/v2/flow.rb', line 524 def flow_instance @instance end |
#headers ⇒ Object
609 610 611 |
# File 'lib/twilio-ruby/rest/studio/v2/flow.rb', line 609 def headers @headers end |
#status_code ⇒ Object
613 614 615 |
# File 'lib/twilio-ruby/rest/studio/v2/flow.rb', line 613 def status_code @status_code end |