Class: VoiceML::ConversationsV1CredentialList
- Inherits:
-
Object
- Object
- VoiceML::ConversationsV1CredentialList
- Includes:
- V1Pageable
- Defined in:
- lib/voiceml/models/conversations_v1.rb
Constant Summary
Constants included from V1Pageable
Instance Attribute Summary collapse
-
#credentials ⇒ Object
readonly
Returns the value of attribute credentials.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ ConversationsV1CredentialList
constructor
A new instance of ConversationsV1CredentialList.
Methods included from V1Pageable
Constructor Details
#initialize(hash = {}) ⇒ ConversationsV1CredentialList
Returns a new instance of ConversationsV1CredentialList.
186 187 188 189 |
# File 'lib/voiceml/models/conversations_v1.rb', line 186 def initialize(hash = {}) (hash) @credentials = (hash['credentials'] || []).map { |h| ConversationsV1Credential.from_hash(h) } end |
Instance Attribute Details
#credentials ⇒ Object (readonly)
Returns the value of attribute credentials.
185 186 187 |
# File 'lib/voiceml/models/conversations_v1.rb', line 185 def credentials @credentials end |