Class: BoltSpec::Plans::MockPuppetDBClient

Inherits:
Object
  • Object
show all
Defined in:
lib/bolt_spec/plans.rb

Overview

Provided as a class so expectations can be placed on it.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ MockPuppetDBClient

Returns a new instance of MockPuppetDBClient.



212
213
214
# File 'lib/bolt_spec/plans.rb', line 212

def initialize(config)
  @config = config
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



210
211
212
# File 'lib/bolt_spec/plans.rb', line 210

def config
  @config
end