class Twilio::REST::Messaging::V1::UsecasePage

PLEASE NOTE that this class contains beta products that are subject to change. Use them with caution.

Public Class Methods

new(version, response, solution) click to toggle source

Initialize the UsecasePage @param [Version] version Version that contains the resource @param [Response] response Response from the API @param [Hash] solution Path solution for the resource @return [UsecasePage] UsecasePage

Calls superclass method Twilio::REST::Page::new
   # File lib/twilio-ruby/rest/messaging/v1/usecase.rb
53 def initialize(version, response, solution)
54   super(version, response)
55 
56   # Path Solution
57   @solution = solution
58 end

Public Instance Methods

get_instance(payload) click to toggle source

Build an instance of UsecaseInstance @param [Hash] payload Payload response from the API @return [UsecaseInstance] UsecaseInstance

   # File lib/twilio-ruby/rest/messaging/v1/usecase.rb
64 def get_instance(payload)
65   UsecaseInstance.new(@version, payload, )
66 end
to_s() click to toggle source

Provide a user friendly representation

   # File lib/twilio-ruby/rest/messaging/v1/usecase.rb
70 def to_s
71   '<Twilio.Messaging.V1.UsecasePage>'
72 end