Module: AccountComponent::Controls::Events::Opened

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

Class Method Summary collapse

Class Method Details

.exampleObject



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

def self.example
  opened = AccountComponent::Messages::Events::Opened.build

  opened. = Account.id
  opened.customer_id = Customer.id
  opened.time = Controls::Time::Effective.example
  opened.processed_time = Controls::Time::Processed.example

  opened
end