class Twilio::REST::Numbers::V2::RegulatoryComplianceList::EndUserPage

Public Class Methods

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

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

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb
142 def initialize(version, response, solution)
143   super(version, response)
144 
145   # Path Solution
146   @solution = solution
147 end

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb
153 def get_instance(payload)
154   EndUserInstance.new(@version, payload, )
155 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user.rb
159 def to_s
160   '<Twilio.Numbers.V2.EndUserPage>'
161 end