Module: AccountComponent::Controls::Events::Deposited

Defined in:
lib/account_component/controls/events/deposited.rb

Class Method Summary collapse

Class Method Details

.exampleObject



5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/account_component/controls/events/deposited.rb', line 5

def self.example
  deposited = AccountComponent::Messages::Events::Deposited.build

  deposited.deposit_id = ID.example
  deposited. = Account.id
  deposited.amount = Money.example
  deposited.time = Controls::Time::Effective.example
  deposited.processed_time = Controls::Time::Processed.example

  deposited.sequence = Sequence.example

  deposited
end