class Twilio::REST::Trusthub::V1::CustomerProfilesPage

Public Class Methods

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

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

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

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
187 def get_instance(payload)
188   CustomerProfilesInstance.new(@version, payload, )
189 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/trusthub/v1/customer_profiles.rb
193 def to_s
194   '<Twilio.Trusthub.V1.CustomerProfilesPage>'
195 end