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