Class: PuppetX::Relay::Agent::Backend::Base
- Inherits:
-
Object
- Object
- PuppetX::Relay::Agent::Backend::Base
- Defined in:
- lib/puppet_x/relay/agent/backend/base.rb
Direct Known Subclasses
Instance Attribute Summary collapse
- #relay_api ⇒ Util::HTTP::RelayAPI readonly
Instance Method Summary collapse
- #exec(run, state_dir, schedule) ⇒ Model::Stateful abstract
-
#initialize(relay_api) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(relay_api) ⇒ Base
Returns a new instance of Base.
14 15 16 |
# File 'lib/puppet_x/relay/agent/backend/base.rb', line 14 def initialize(relay_api) @relay_api = relay_api end |
Instance Attribute Details
#relay_api ⇒ Util::HTTP::RelayAPI (readonly)
11 12 13 |
# File 'lib/puppet_x/relay/agent/backend/base.rb', line 11 def relay_api @relay_api end |
Instance Method Details
#exec(run, state_dir, schedule) ⇒ Model::Stateful
This method is abstract.
23 24 25 |
# File 'lib/puppet_x/relay/agent/backend/base.rb', line 23 def exec(run, state_dir, schedule) # rubocop:disable Lint/UnusedMethodArgument raise NotImplementedError end |