Class: VoiceML::SipCredentialListList

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

Returns a new instance of SipCredentialListList.



57
58
59
60
# File 'lib/voiceml/models/sip.rb', line 57

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

Instance Attribute Details

#credential_listsObject (readonly)

Returns the value of attribute credential_lists.



56
57
58
# File 'lib/voiceml/models/sip.rb', line 56

def credential_lists
  @credential_lists
end