Class: RSpec::OpenAPI::Config
- Inherits:
-
Object
- Object
- RSpec::OpenAPI::Config
- Defined in:
- lib/rspec/openapi.rb
Class Attribute Summary collapse
-
.debug_enabled ⇒ Object
Returns the value of attribute debug_enabled.
Class Method Summary collapse
Class Attribute Details
.debug_enabled ⇒ Object
Returns the value of attribute debug_enabled.
21 22 23 |
# File 'lib/rspec/openapi.rb', line 21 def debug_enabled @debug_enabled end |
Class Method Details
.load_environment_settings ⇒ Object
23 24 25 |
# File 'lib/rspec/openapi.rb', line 23 def load_environment_settings @debug_enabled = ['', '1', 'true'].include?(ENV['DEBUG']&.downcase) end |