Class: VoiceML::SipIpAccessControlListMappingList

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 = {}) ⇒ SipIpAccessControlListMappingList

Returns a new instance of SipIpAccessControlListMappingList.



157
158
159
160
# File 'lib/voiceml/models/sip.rb', line 157

def initialize(hash = {})
  assign_page_fields(hash)
  @ip_access_control_list_mappings = (hash['ip_access_control_list_mappings'] || []).map { |h| SipDomainMapping.from_hash(h) }
end

Instance Attribute Details

#ip_access_control_list_mappingsObject (readonly)

Returns the value of attribute ip_access_control_list_mappings.



156
157
158
# File 'lib/voiceml/models/sip.rb', line 156

def ip_access_control_list_mappings
  @ip_access_control_list_mappings
end