Method: FellowshipOneAPI::Configuration.environment
- Defined in:
- lib/f1api/configuration.rb
.environment ⇒ Object
Gets the current environment
32 33 34 35 36 |
# File 'lib/f1api/configuration.rb', line 32 def self.environment @environment ||= "development" @environment ||= ::Rails.env if defined? ::Rails @environment end |