class Twilio::REST::Api::V2010::AccountPage

Public Class Methods

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

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

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/api/v2010/account.rb
152 def initialize(version, response, solution)
153   super(version, response)
154 
155   # Path Solution
156   @solution = solution
157 end

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/api/v2010/account.rb
163 def get_instance(payload)
164   AccountInstance.new(@version, payload, )
165 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/api/v2010/account.rb
169 def to_s
170   '<Twilio.Api.V2010.AccountPage>'
171 end