Class: Twilio::REST::Pricing::V1::PhoneNumberInstance

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

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ PhoneNumberInstance

Initialize the PhoneNumberInstance

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

  • sid (String)

    The SID of the Call resource to fetch.



94
95
96
97
# File 'lib/twilio-ruby/rest/pricing/v1/phone_number.rb', line 94

def initialize(version )
    super(version)
    
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



108
109
110
# File 'lib/twilio-ruby/rest/pricing/v1/phone_number.rb', line 108

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

#to_sObject

Provide a user friendly representation



102
103
104
# File 'lib/twilio-ruby/rest/pricing/v1/phone_number.rb', line 102

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