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.



97
98
99
100
101
# File 'lib/twilio-ruby/rest/pricing/v1/phone_number.rb', line 97

def initialize(version )
    super(version)
    
    
end

Instance Method Details

#inspect ⇒ Object

Provide a detailed, user friendly representation



112
113
114
# File 'lib/twilio-ruby/rest/pricing/v1/phone_number.rb', line 112

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

#to_s ⇒ Object

Provide a user friendly representation



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

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