Class: VoiceML::SipIpAccessControlListList

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

Returns a new instance of SipIpAccessControlListList.



102
103
104
105
# File 'lib/voiceml/models/sip.rb', line 102

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

Instance Attribute Details

#ip_access_control_listsObject (readonly)

Returns the value of attribute ip_access_control_lists.



101
102
103
# File 'lib/voiceml/models/sip.rb', line 101

def ip_access_control_lists
  @ip_access_control_lists
end