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.



94
95
96
97
# File 'lib/twilio-ruby/rest/pricing/v1/messaging.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/messaging.rb', line 108

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

#to_sObject

Provide a user friendly representation



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

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