class Twilio::REST::Wireless::V1::RatePlanPage

Public Class Methods

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

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

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/wireless/v1/rate_plan.rb
178 def initialize(version, response, solution)
179   super(version, response)
180 
181   # Path Solution
182   @solution = solution
183 end

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/wireless/v1/rate_plan.rb
189 def get_instance(payload)
190   RatePlanInstance.new(@version, payload, )
191 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/wireless/v1/rate_plan.rb
195 def to_s
196   '<Twilio.Wireless.V1.RatePlanPage>'
197 end