Class: VoiceML::SipCredentialListMappingList
- Inherits:
-
Object
- Object
- VoiceML::SipCredentialListMappingList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/sip.rb
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#credential_list_mappings ⇒ Object
readonly
Returns the value of attribute credential_list_mappings.
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ SipCredentialListMappingList
constructor
A new instance of SipCredentialListMappingList.
Methods included from Pageable
Constructor Details
#initialize(hash = {}) ⇒ SipCredentialListMappingList
Returns a new instance of SipCredentialListMappingList.
148 149 150 151 |
# File 'lib/voiceml/models/sip.rb', line 148 def initialize(hash = {}) assign_page_fields(hash) @credential_list_mappings = (hash['credential_list_mappings'] || []).map { |h| SipDomainMapping.from_hash(h) } end |
Instance Attribute Details
#credential_list_mappings ⇒ Object (readonly)
Returns the value of attribute credential_list_mappings.
147 148 149 |
# File 'lib/voiceml/models/sip.rb', line 147 def credential_list_mappings @credential_list_mappings end |