module Bitsor::Default

Constants

API_ENDPOINT

Public Class Methods

api_endpoint() click to toggle source
# File lib/bitsor/default.rb, line 26
def api_endpoint
  ENV['API_ENDPOINT'] || API_ENDPOINT
end
api_key() click to toggle source
# File lib/bitsor/default.rb, line 18
def api_key
  ENV['API_KEY']
end
api_secret() click to toggle source
# File lib/bitsor/default.rb, line 22
def api_secret
  ENV['API_SECRET']
end
client_id() click to toggle source
# File lib/bitsor/default.rb, line 14
def client_id
  ENV['CLIENT_ID']
end
options() click to toggle source
# File lib/bitsor/default.rb, line 10
def options
  Hash[Bitsor::Configurable.keys.map { |key| [key, send(key)] }]
end