Class: Threatinator::Action
- Inherits:
-
Object
- Object
- Threatinator::Action
- Defined in:
- lib/threatinator/action.rb
Direct Known Subclasses
Threatinator::Actions::List::Action, Threatinator::Actions::Run::Action
Instance Attribute Summary collapse
-
#registry ⇒ Object
readonly
Returns the value of attribute registry.
Instance Method Summary collapse
- #exec ⇒ Object
-
#initialize(registry) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(registry) ⇒ Action
Returns a new instance of Action.
4 5 6 |
# File 'lib/threatinator/action.rb', line 4 def initialize(registry) @registry = registry end |
Instance Attribute Details
#registry ⇒ Object (readonly)
Returns the value of attribute registry.
3 4 5 |
# File 'lib/threatinator/action.rb', line 3 def registry @registry end |
Instance Method Details
#exec ⇒ Object
8 9 10 11 12 |
# File 'lib/threatinator/action.rb', line 8 def exec #:nocov: raise NotImplementedError.new #:nocov: end |