Class: VoiceML::SipIpAccessControlListList
- Inherits:
-
Object
- Object
- VoiceML::SipIpAccessControlListList
- Includes:
- Pageable
- Defined in:
- lib/voiceml/models/sip.rb
Constant Summary
Constants included from Pageable
Instance Attribute Summary collapse
-
#ip_access_control_lists ⇒ Object
readonly
Returns the value of attribute ip_access_control_lists.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash = {}) ⇒ SipIpAccessControlListList
constructor
A new instance of SipIpAccessControlListList.
Methods included from Pageable
Constructor Details
#initialize(hash = {}) ⇒ SipIpAccessControlListList
Returns a new instance of SipIpAccessControlListList.
105 106 107 108 |
# File 'lib/voiceml/models/sip.rb', line 105 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_lists ⇒ Object (readonly)
Returns the value of attribute ip_access_control_lists.
104 105 106 |
# File 'lib/voiceml/models/sip.rb', line 104 def ip_access_control_lists @ip_access_control_lists end |
Class Method Details
.from_hash(hash) ⇒ Object
109 |
# File 'lib/voiceml/models/sip.rb', line 109 def self.from_hash(hash); new(hash || {}); end |