Module: AccountComponent::Controls::Events::Closed

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

Class Method Summary collapse

Class Method Details

.exampleObject



5
6
7
8
9
10
11
12
13
# File 'lib/account_component/controls/events/closed.rb', line 5

def self.example
  closed = AccountComponent::Messages::Events::Closed.build

  closed. = Account.id
  closed.time = Controls::Time::Effective.example
  closed.processed_time = Controls::Time::Processed.example

  closed
end