Class: VoiceML::ConversationsV1ServiceBindingList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ServiceBindingList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#bindings ⇒ Object
readonly
Returns the value of attribute bindings.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ServiceBindingList
constructor
A new instance of ConversationsV1ServiceBindingList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ServiceBindingList
Returns a new instance of ConversationsV1ServiceBindingList.
565 566 567 568 |
# File 'lib/voiceml/models/conversations_v1.rb', line 565 def initialize(hash = {}) (hash) @bindings = (hash['bindings'] || []).map { |h| ConversationsV1ServiceBinding.from_hash(h) } end |
Instance Attribute Details
#bindings ⇒ Object (readonly)
Returns the value of attribute bindings.
564 565 566 |
# File 'lib/voiceml/models/conversations_v1.rb', line 564 def bindings @bindings end |