Class: VoiceML::SipCredentialListList
- Inherits:
-
Object
- Object
- VoiceML::SipCredentialListList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/sip.rb
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#credential_lists ⇒ Object
readonly
Returns the value of attribute credential_lists.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ SipCredentialListList
constructor
A new instance of SipCredentialListList.
Methods included from Pageable
Constructor Details
#initialize(hash = {}) ⇒ SipCredentialListList
Returns a new instance of SipCredentialListList.
57 58 59 60 |
# File 'lib/voiceml/models/sip.rb', line 57 def initialize(hash = {}) assign_page_fields(hash) @credential_lists = (hash['credential_lists'] || []).map { |h| SipCredentialList.from_hash(h) } end |
Instance Attribute Details
#credential_lists ⇒ Object (readonly)
Returns the value of attribute credential_lists.
56 57 58 |
# File 'lib/voiceml/models/sip.rb', line 56 def credential_lists @credential_lists end |