README.md in unidom-action-0.5 vs README.md in unidom-action-0.6
- old
+ new
@@ -61,11 +61,13 @@
## Include the Concern
```ruby
include Unidom::Action::Concerns::AsActed
include Unidom::Action::Concerns::AsObsolesced
+include Unidom::Action::Concerns::AsObsolescerParty
include Unidom::Action::Concerns::AsStateSubject
+include Unidom::Action::Concerns::AsStateTransitorParty
```
### As Acted concern
The As Acted concern do the following tasks for the includer automatically:
@@ -74,9 +76,19 @@
### 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``
+### 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``
+
### As State Subject concern
The As State Subject concern do the following tasks for the includer automatically:
1. Define the has_many :state_transitions macro as: ``has_many :state_transitions, class_name: 'Unidom::Action::StateTransition', as: :subject``
+
+### 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``