class Twilio::REST::Pricing::V1::MessagingPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the MessagingPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [MessagingPage] MessagingPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/pricing/v1/messaging.rb 59 def initialize(version, response, solution) 60 super(version, response) 61 62 # Path Solution 63 @solution = solution 64 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of MessagingInstance
@param [Hash] payload Payload response from the API @return [MessagingInstance] MessagingInstance
# File lib/twilio-ruby/rest/pricing/v1/messaging.rb 70 def get_instance(payload) 71 MessagingInstance.new(@version, payload, ) 72 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/pricing/v1/messaging.rb 76 def to_s 77 '<Twilio.Pricing.V1.MessagingPage>' 78 end