Method: Cosmos::ProcessStatusModel#initialize
- Defined in:
- lib/cosmos/models/process_status_model.rb
#initialize(name:, state: nil, process_type: nil, detail: nil, output: nil, updated_at: nil, plugin: nil, scope:) ⇒ ProcessStatusModel
END NOTE
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/cosmos/models/process_status_model.rb', line 47 def initialize( name:, state: nil, process_type: nil, detail: nil, output: nil, updated_at: nil, plugin: nil, scope: ) super("#{scope}__#{PRIMARY_KEY}", name: name, updated_at: updated_at, plugin: plugin, scope: scope) @state = state @process_type = process_type @detail = detail @output = output end |