class Twilio::REST::Numbers::V2::RegulatoryComplianceList::EndUserTypePage

Public Class Methods

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

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

Calls superclass method Twilio::REST::Page::new
    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb
121 def initialize(version, response, solution)
122   super(version, response)
123 
124   # Path Solution
125   @solution = solution
126 end

Public Instance Methods

get_instance(payload) click to toggle source

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

    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb
132 def get_instance(payload)
133   EndUserTypeInstance.new(@version, payload, )
134 end
to_s() click to toggle source

Provide a user friendly representation

    # File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance/end_user_type.rb
138 def to_s
139   '<Twilio.Numbers.V2.EndUserTypePage>'
140 end