Class: VoiceML::SipIpAccessControlListMappingList
- Inherits:
-
Object
- Object
- VoiceML::SipIpAccessControlListMappingList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/sip.rb
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#ip_access_control_list_mappings ⇒ Object
readonly
Returns the value of attribute ip_access_control_list_mappings.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ SipIpAccessControlListMappingList
constructor
A new instance of SipIpAccessControlListMappingList.
Methods included from Pageable
Constructor Details
#initialize(hash = {}) ⇒ SipIpAccessControlListMappingList
Returns a new instance of SipIpAccessControlListMappingList.
163 164 165 166 |
# File 'lib/voiceml/models/sip.rb', line 163 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_mappings ⇒ Object (readonly)
Returns the value of attribute ip_access_control_list_mappings.
162 163 164 |
# File 'lib/voiceml/models/sip.rb', line 162 def ip_access_control_list_mappings @ip_access_control_list_mappings end |
Class Method Details
.from_hash(hash) ⇒ Object
167 |
# File 'lib/voiceml/models/sip.rb', line 167 def self.from_hash(hash); new(hash || {}); end |