Module: AccountComponent::Controls::Commands::Open

Defined in:
lib/account_component/controls/commands/open.rb

Class Method Summary collapse

Class Method Details

.exampleObject



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

def self.example
  open = AccountComponent::Messages::Commands::Open.build

  open. = Account.id
  open.customer_id = Customer.id
  open.time = Controls::Time::Effective.example

  open
end