Module: Lmb::Developers
- Defined in:
- lib/lmb/developers.rb,
lib/lmb/developers/auth.rb,
lib/lmb/developers/error.rb,
lib/lmb/developers/loyalty.rb,
lib/lmb/developers/configuration.rb
Defined Under Namespace
Classes: Auth, Configuration, Error, Loyalty
Class Attribute Summary collapse
-
.configuration ⇒ Object
readonly
Instace or return global configuration.
Class Method Summary collapse
-
.configure(environment = "DEV", api_key = "apikey", username = "username", password = "password") ⇒ Lmb::Developers::Configuration
Configure global parameters.
Class Attribute Details
.configuration ⇒ Object (readonly)
Instace or return global configuration
24 25 26 |
# File 'lib/lmb/developers.rb', line 24 def configuration @configuration end |
Class Method Details
.configure(environment = "DEV", api_key = "apikey", username = "username", password = "password") ⇒ Lmb::Developers::Configuration
Configure global parameters
19 20 21 |
# File 'lib/lmb/developers.rb', line 19 def configure(environment = "DEV", api_key = "apikey", username = "username", password = "password") configuration.configure(environment, api_key, username, password) end |