class Twilio::REST::Numbers::V2::RegulatoryCompliancePage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the RegulatoryCompliancePage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [RegulatoryCompliancePage] RegulatoryCompliancePage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.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 RegulatoryComplianceInstance
@param [Hash] payload Payload response from the API @return [RegulatoryComplianceInstance] RegulatoryComplianceInstance
# File lib/twilio-ruby/rest/numbers/v2/regulatory_compliance.rb 153 def get_instance(payload) 154 RegulatoryComplianceInstance.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.rb 159 def to_s 160 '<Twilio.Numbers.V2.RegulatoryCompliancePage>' 161 end