Class: Twilio::REST::Accounts::V1::CredentialInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/accounts/v1/credential.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ CredentialInstance

Initialize the CredentialInstance

Parameters:

  • version (Version)

    Version that contains the resource

  • payload (Hash)

    payload that contains response from Twilio

  • account_sid (String)

    The SID of the Account that created this Credential resource.

  • sid (String)

    The SID of the Call resource to fetch.



108
109
110
111
# File 'lib/twilio-ruby/rest/accounts/v1/credential.rb', line 108

def initialize(version )
    super(version)
    
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



122
123
124
# File 'lib/twilio-ruby/rest/accounts/v1/credential.rb', line 122

def inspect
    "<Twilio.Accounts.V1.CredentialInstance>"
end

#to_sObject

Provide a user friendly representation



116
117
118
# File 'lib/twilio-ruby/rest/accounts/v1/credential.rb', line 116

def to_s
    "<Twilio.Accounts.V1.CredentialInstance>"
end