unhappychoice/bitflyer-cli

View on GitHub
lib/bitflyer/cli/authorization.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Authorization
  def api_key
    ENV['BITFLYER_API_KEY'] || puts('environment variable BITFLYER_API_KEY is not set')
  end

  def api_secret
    ENV['BITFLYER_API_SECRET'] || puts('environment variable BITFLYER_API_SECRET is not set')
  end
end