class Bitsor::Client
Attributes
api_key[W]
api_secret[W]
client_id[W]
Public Class Methods
new(options = {})
click to toggle source
# File lib/bitsor/client.rb, line 71 def initialize(options = {}) Bitsor::Configurable.keys.each do |key| instance_variable_set(:"@#{key}", options[key] || Bitsor.instance_variable_get(:"@#{key}")) end end
Public Instance Methods
inspect()
click to toggle source
# File lib/bitsor/client.rb, line 77 def inspect "Bitsor::Client(client_id: ****#{@client_id[4..-1]} api_key: ******#{@api_key[6..-1]}, object_id: #{format('0x00%x', (object_id << 1))})" end
normalize_response()
click to toggle source
# File lib/bitsor/client.rb, line 81 def normalize_response @normalizer ||= Normalizer.new end