Class: BoltSpec::Plans::MockPuppetDBClient
- Inherits:
-
Object
- Object
- BoltSpec::Plans::MockPuppetDBClient
- Defined in:
- lib/bolt_spec/plans.rb
Overview
Provided as a class so expectations can be placed on it.
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ MockPuppetDBClient
constructor
A new instance of MockPuppetDBClient.
Constructor Details
#initialize(config) ⇒ MockPuppetDBClient
Returns a new instance of MockPuppetDBClient.
191 192 193 |
# File 'lib/bolt_spec/plans.rb', line 191 def initialize(config) @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
189 190 191 |
# File 'lib/bolt_spec/plans.rb', line 189 def config @config end |