module Bitreserve::Options
Constants
- API_BASE
- SANDBOX_API_BASE
Attributes
options[R]
Public Instance Methods
bearer_token()
click to toggle source
# File lib/bitreserve/options.rb, line 11 def bearer_token @bearer_token ||= (options[:token] || ENV['BITRESERVE_AUTH_TOKEN']) end
bearer_token?()
click to toggle source
# File lib/bitreserve/options.rb, line 7 def bearer_token? !bearer_token.nil? end