class Twilio::REST::Trusthub::V1::TrustProductsPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the TrustProductsPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [TrustProductsPage] TrustProductsPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/trusthub/v1/trust_products.rb 176 def initialize(version, response, solution) 177 super(version, response) 178 179 # Path Solution 180 @solution = solution 181 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of TrustProductsInstance
@param [Hash] payload Payload response from the API @return [TrustProductsInstance] TrustProductsInstance
# File lib/twilio-ruby/rest/trusthub/v1/trust_products.rb 187 def get_instance(payload) 188 TrustProductsInstance.new(@version, payload, ) 189 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/trusthub/v1/trust_products.rb 193 def to_s 194 '<Twilio.Trusthub.V1.TrustProductsPage>' 195 end