class Twilio::REST::Trusthub::V1::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/trusthub/v1/supporting_document_type.rb 120 def initialize(version, response, solution) 121 super(version, response) 122 123 # Path Solution 124 @solution = solution 125 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/trusthub/v1/supporting_document_type.rb 131 def get_instance(payload) 132 SupportingDocumentTypeInstance.new(@version, payload, ) 133 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/trusthub/v1/supporting_document_type.rb 137 def to_s 138 '<Twilio.Trusthub.V1.SupportingDocumentTypePage>' 139 end