module AccountComponent::Commands::Command
Public Class Methods
included(cls)
click to toggle source
# File lib/account_component/commands/command.rb, line 4 def self.included(cls) cls.class_exec do include Dependency include Messaging::StreamName include Messages::Events extend Build extend BuildMessage category :account dependency :write, Messaging::Postgres::Write dependency :clock, Clock::UTC end end
Public Instance Methods
configure()
click to toggle source
# File lib/account_component/commands/command.rb, line 21 def configure Messaging::Postgres::Write.configure(self) Clock::UTC.configure(self) end