Class: Belt::Configuration
- Inherits:
-
Object
- Object
- Belt::Configuration
- Defined in:
- lib/belt/configuration.rb
Overview
Constant Summary collapse
- VALID_FORMATS =
%i[json html].freeze
Instance Attribute Summary collapse
-
#default_format ⇒ Object
Returns the value of attribute default_format.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
15 16 17 |
# File 'lib/belt/configuration.rb', line 15 def initialize @default_format = :json end |
Instance Attribute Details
#default_format ⇒ Object
Returns the value of attribute default_format.
19 20 21 |
# File 'lib/belt/configuration.rb', line 19 def default_format @default_format end |