Class: VoiceML::ConversationsV1ConversationScopedWebhookList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1ConversationScopedWebhookList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#webhooks ⇒ Object
readonly
Returns the value of attribute webhooks.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1ConversationScopedWebhookList
constructor
A new instance of ConversationsV1ConversationScopedWebhookList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1ConversationScopedWebhookList
Returns a new instance of ConversationsV1ConversationScopedWebhookList.
121 122 123 124 |
# File 'lib/voiceml/models/conversations_v1.rb', line 121 def initialize(hash = {}) (hash) @webhooks = (hash['webhooks'] || []).map { |h| ConversationsV1ConversationScopedWebhook.from_hash(h) } end |
Instance Attribute Details
#webhooks ⇒ Object (readonly)
Returns the value of attribute webhooks.
120 121 122 |
# File 'lib/voiceml/models/conversations_v1.rb', line 120 def webhooks @webhooks end |