Class: Twilio::REST::Pricing::V1::MessagingInstance

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

Instance Method Summary collapse

Constructor Details

#initialize(version) ⇒ MessagingInstance

Initialize the MessagingInstance

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

  • sid (String) —

    The SID of the Call resource to fetch.



97
98
99
100
101
# File 'lib/twilio-ruby/rest/pricing/v1/messaging.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/messaging.rb', line 112

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

#to_s ⇒ Object

Provide a user friendly representation



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

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