Class: CC::Config::ChecksAdapter
- Inherits:
-
Object
- Object
- CC::Config::ChecksAdapter
- Defined in:
- lib/cc/config/checks_adapter.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ChecksAdapter
constructor
A new instance of ChecksAdapter.
Constructor Details
#initialize(data = {}) ⇒ ChecksAdapter
Returns a new instance of ChecksAdapter.
6 7 8 9 10 11 |
# File 'lib/cc/config/checks_adapter.rb', line 6 def initialize(data = {}) @config = data return unless checks.present? copy_qm_checks_config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
4 5 6 |
# File 'lib/cc/config/checks_adapter.rb', line 4 def config @config end |