Class: Threatinator::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/threatinator/action.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#registryObject (readonly)

Returns the value of attribute registry.



3
4
5
# File 'lib/threatinator/action.rb', line 3

def registry
  @registry
end

Instance Method Details

#execObject

Raises:

  • (NotImplementedError)


8
9
10
11
12
# File 'lib/threatinator/action.rb', line 8

def exec
  #:nocov:
  raise NotImplementedError.new
  #:nocov:
end