Class: VoiceML::SipCredentialListMappingList

Inherits:
Object
  • Object
show all
Includes:
Pageable
Defined in:
lib/voiceml/models/sip.rb

Constant Summary

Constants included from Pageable

Pageable::PAGE_FIELDS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Pageable

#assign_page_fields

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_mappingsObject (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