Class: Twilio::REST::Pricing::V2::VoiceInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/pricing/v2/voice.rb

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ VoiceInstance

Initialize the VoiceInstance

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 Voice resource.

  • sid (String)

    The SID of the Call resource to fetch.



108
109
110
111
# File 'lib/twilio-ruby/rest/pricing/v2/voice.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/pricing/v2/voice.rb', line 122

def inspect
    "<Twilio.Pricing.V2.VoiceInstance>"
end

#to_sObject

Provide a user friendly representation



116
117
118
# File 'lib/twilio-ruby/rest/pricing/v2/voice.rb', line 116

def to_s
    "<Twilio.Pricing.V2.VoiceInstance>"
end