README.md in unidom-action-1.1 vs README.md in unidom-action-1.2
- old
+ new
@@ -90,10 +90,11 @@
### As Obsolesced concern
The As Obsolesced concern do the following tasks for the includer automatically:
1. Define the has_many :obsolescings macro as: ``has_many :obsolescings, class_name: 'Unidom::Action::Obsolescing', as: :obsolesced``
+2. Define the #is_obsolesced! method as: ``is_obsolesced!(obsolescence_code: 'OBSL', due_to: nil, via: nil, by: nil, at: Time.now)``
### As Obsolescer Party concern
The As Obsolescer Party concern do the following tasks for the includer automatically:
1. Define the has_many :obsolesced_obsolescings macro as: ``has_many :obsolesced_obsolescings, class_name: 'Unidom::Action::Obsolescing', as: :obsolescer_party``
@@ -105,5 +106,6 @@
### As State Transitor Party concern
The As State Transitor Party concern do the following tasks for the includer automatically:
1. Define the has_many :transited_state_transitions macro as: ``has_many :transited_state_transitions, class_name: 'Unidom::Action::StateTransition', as: :transitor_party``
+2. Define the #is_transited! method as: ``is_transited!(from: nil, thru: nil, due_to: nil, via: nil, by: nil, at: Time.now)``