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.



111
112
113
114
115
# File 'lib/twilio-ruby/rest/accounts/v1/credential.rb', line 111

def initialize(version )
    super(version)
    
    
end

Instance Method Details

#inspect ⇒ Object

Provide a detailed, user friendly representation



126
127
128
# File 'lib/twilio-ruby/rest/accounts/v1/credential.rb', line 126

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

#to_s ⇒ Object

Provide a user friendly representation



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

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