Class: Exercism::Config
- Inherits:
-
OpenStruct
- Object
- OpenStruct
- Exercism::Config
- Defined in:
- lib/exercism/config.rb
Instance Method Summary collapse
-
#initialize(data, aws_settings) ⇒ Config
constructor
A new instance of Config.
- #to_json(*_args) ⇒ Object
Constructor Details
#initialize(data, aws_settings) ⇒ Config
Returns a new instance of Config.
3 4 5 6 |
# File 'lib/exercism/config.rb', line 3 def initialize(data, aws_settings) super(data) self.aws_settings = aws_settings end |
Instance Method Details
#to_json(*_args) ⇒ Object
8 9 10 |
# File 'lib/exercism/config.rb', line 8 def to_json(*_args) to_h.to_json end |