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