Class: Twilio::REST::Api::V2010::AccountContext::SipInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/api/v2010/account/sip.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, account_sid: nil) ⇒ SipInstance

Initialize the SipInstance

Parameters:

  • version (Version) —

    Version that contains the resource

  • payload (Hash) —

    payload that contains response from Twilio

  • account_sid (String) (defaults to: nil) —

    The SID of the Account that created this Sip resource.

  • sid (String) —

    The SID of the Call resource to fetch.



127
128
129
130
131
# File 'lib/twilio-ruby/rest/api/v2010/account/sip.rb', line 127

def initialize(version , account_sid: nil)
    super(version)
    
    
end

Instance Method Details

#inspect ⇒ Object

Provide a detailed, user friendly representation



142
143
144
# File 'lib/twilio-ruby/rest/api/v2010/account/sip.rb', line 142

def inspect
    "<Twilio.Api.V2010.SipInstance>"
end

#to_s ⇒ Object

Provide a user friendly representation



136
137
138
# File 'lib/twilio-ruby/rest/api/v2010/account/sip.rb', line 136

def to_s
    "<Twilio.Api.V2010.SipInstance>"
end