class Twilio::REST::Accounts::V1::CredentialList::PublicKeyPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the PublicKeyPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [PublicKeyPage] PublicKeyPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb 144 def initialize(version, response, solution) 145 super(version, response) 146 147 # Path Solution 148 @solution = solution 149 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of PublicKeyInstance
@param [Hash] payload Payload response from the API @return [PublicKeyInstance] PublicKeyInstance
# File lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb 155 def get_instance(payload) 156 PublicKeyInstance.new(@version, payload, ) 157 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/accounts/v1/credential/public_key.rb 161 def to_s 162 '<Twilio.Accounts.V1.PublicKeyPage>' 163 end