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.



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

def initialize(version )
    super(version)
    
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



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

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

#to_sObject

Provide a user friendly representation



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

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