Module: Aggro::Command

Extended by:
ActiveSupport::Concern
Includes:
AttributeDSL
Included in:
SagaRunner::StartSaga
Defined in:
lib/aggro/command.rb

Overview

Public: Mixin to turn a PORO into an Aggro command.

Instance Method Summary collapse

Methods included from AttributeDSL

#attributes, #initialize, #serialized_attributes

Instance Method Details

#to_detailsObject



12
13
14
# File 'lib/aggro/command.rb', line 12

def to_details
  { name: model_name.name, args: serialized_attributes }
end