Class: CC::Config::ChecksAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/cc/config/checks_adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configObject (readonly)

Returns the value of attribute config.



4
5
6
# File 'lib/cc/config/checks_adapter.rb', line 4

def config
  @config
end