module LeisureKing
Constants
- VERSION
Public Class Methods
set_credentials_from_environment()
click to toggle source
For testing purpose only: set the username and password in environment variables to make the tests pass with your test credentials.
# File lib/leisureking.rb, line 18 def self.set_credentials_from_environment Config.api_key = ENV["LEISURE_KING_API_KEY"] Config.api_secret = ENV["LEISURE_KING_API_SECRET"] end