class Round::Client::Context
Constants
- SCHEMES
Attributes
mfa_token[RW]
schemes[RW]
Public Class Methods
new()
click to toggle source
# File lib/round/client.rb, line 81 def initialize @schemes = {} end
Public Instance Methods
compile_params(params)
click to toggle source
# File lib/round/client.rb, line 92 def compile_params(params) compiled = params.map do |key, value| %Q(#{key}="#{value}") end.join(', ') compiled << ", mfa_token=#{@mfa_token}" if @mfa_token compiled end
inspect()
click to toggle source
# File lib/round/client.rb, line 110 def inspect # Hide the secret token when printed id = "%x" % (self.object_id << 1) %Q(#<#{self.class}:0x#{id}) end