class Twilio::REST::Accounts::V1::CredentialList::AwsPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the AwsPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [AwsPage] AwsPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/accounts/v1/credential/aws.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 AwsInstance
@param [Hash] payload Payload response from the API @return [AwsInstance] AwsInstance
# File lib/twilio-ruby/rest/accounts/v1/credential/aws.rb 155 def get_instance(payload) 156 AwsInstance.new(@version, payload, ) 157 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/accounts/v1/credential/aws.rb 161 def to_s 162 '<Twilio.Accounts.V1.AwsPage>' 163 end