Class: ServiceEnvironment
- Inherits:
-
Object
- Object
- ServiceEnvironment
- Defined in:
- lib/service_environment.rb
Overview
Possible environment variables to choose a specific service environment.
Class Method Summary collapse
-
.MOCK ⇒ Object
Mock environment constant.
-
.PRODUCTION ⇒ Object
Production environment constant.
-
.SANDBOX ⇒ Object
Sandbox environment constant.
Class Method Details
.MOCK ⇒ Object
Mock environment constant
17 18 19 |
# File 'lib/service_environment.rb', line 17 def self.MOCK @@MOCK = 3 end |
.PRODUCTION ⇒ Object
Production environment constant
7 8 9 |
# File 'lib/service_environment.rb', line 7 def self.PRODUCTION @@PRODUCTION = 1 end |
.SANDBOX ⇒ Object
Sandbox environment constant
12 13 14 |
# File 'lib/service_environment.rb', line 12 def self.SANDBOX @@SANDBOX = 2 end |