Class: Twilio::REST::Pricing::V1::VoiceInstance

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/pricing/v1/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.



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

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

#to_sObject

Provide a user friendly representation



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

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