Module: Globalticket
- Defined in:
- lib/globalticket.rb,
lib/globalticket/api.rb,
lib/globalticket/engine.rb,
lib/globalticket/version.rb
Defined Under Namespace
Modules: Config Classes: API, Engine
Constant Summary collapse
- VERSION =
"0.1.0"
Class Method Summary collapse
-
.set_credentials_from_environment ⇒ Object
For testing purpose only: set the username and password in environment variables to make the tests pass with your test credentials.
Class Method Details
.set_credentials_from_environment ⇒ Object
For testing purpose only: set the username and password in environment variables to make the tests pass with your test credentials.
12 13 14 15 16 |
# File 'lib/globalticket.rb', line 12 def self.set_credentials_from_environment Config.api_key = ENV["GLOBAL_TICKET_API_KEY"] Config.api_secret = ENV["GLOBAL_TICKET_API_SECRET"] end |