Class: VoiceML::AssistantsV1FeedbackList
- Inherits:
-
Object
- Object
- VoiceML::AssistantsV1FeedbackList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/assistants_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#feedbacks ⇒ Object
readonly
Returns the value of attribute feedbacks.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ AssistantsV1FeedbackList
constructor
A new instance of AssistantsV1FeedbackList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ AssistantsV1FeedbackList
Returns a new instance of AssistantsV1FeedbackList.
211 212 213 214 |
# File 'lib/voiceml/models/assistants_v1.rb', line 211 def initialize(hash = {}) (hash) @feedbacks = (hash['feedbacks'] || []).map { |h| AssistantsV1Feedback.from_hash(h) } end |
Instance Attribute Details
#feedbacks ⇒ Object (readonly)
Returns the value of attribute feedbacks.
210 211 212 |
# File 'lib/voiceml/models/assistants_v1.rb', line 210 def feedbacks @feedbacks end |