Class: Twilio::REST::Api::V2010::AccountContext::SipList::CredentialListListResponse
- Inherits:
-
InstanceListResource
- Object
- InstanceListResource
- Twilio::REST::Api::V2010::AccountContext::SipList::CredentialListListResponse
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb
Instance Method Summary collapse
- #credential_list ⇒ Object
- #credential_list_instance ⇒ Object
- #headers ⇒ Object
-
#initialize(version, payload, key, limit = :unset) ⇒ CredentialListListResponse
constructor
A new instance of CredentialListListResponse.
- #status_code ⇒ Object
Constructor Details
#initialize(version, payload, key, limit = :unset) ⇒ CredentialListListResponse
Returns a new instance of CredentialListListResponse.
439 440 441 442 443 444 445 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 439 def initialize(version, payload, key) @credential_list_instance = payload.body[key].map do |data| CredentialListInstance.new(version, data) end @headers = payload.headers @status_code = payload.status_code end |
Instance Method Details
#credential_list ⇒ Object
528 529 530 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 528 def credential_list @credential_list end |
#credential_list_instance ⇒ Object
447 448 449 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 447 def credential_list_instance @instance end |
#headers ⇒ Object
532 533 534 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 532 def headers @headers end |
#status_code ⇒ Object
536 537 538 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/credential_list.rb', line 536 def status_code @status_code end |