class Sequent::Core::BaseCommand
Base class for all Command’s.
Commands
form the API of your domain. They are simple data objects with descriptive names of what they want to achieve. E.g. ‘SendInvoice`.
BaseCommand
uses ‘ActiveModel::Validations` for validations
Public Class Methods
new(args = {})
click to toggle source
# File lib/sequent/core/command.rb, line 37 def initialize(args = {}) update_all_attributes args @created_at = Time.now _run_initialize_callbacks end