README.md in unidom-action-1.13 vs README.md in unidom-action-1.14

- old
+ new

@@ -93,12 +93,14 @@ ## Include the Concern ```ruby include Unidom::Action::Concerns::AsActed +include Unidom::Action::Concerns::AsActorParty include Unidom::Action::Concerns::AsObsolesced include Unidom::Action::Concerns::AsObsolescerParty +include Unidom::Action::Concerns::AsSearcherParty include Unidom::Action::Concerns::AsStateSubject include Unidom::Action::Concerns::AsStateTransitorParty ``` ### As Acted concern @@ -126,9 +128,14 @@ 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`` 2. Define the #obsolesce! method as: ``obsolesce!(it, obsolescence_code: 'OBSL', due_to: nil, via: nil, at: Time.now)`` 3. Define the #obsolesce? method as: ``obsolesce?(it, obsolescence_code: 'OBSL', due_to: nil, via: nil, at: Time.now)`` + +### As Searcher Party concern + +The As Searcher Party concern do the following tasks for the includer automatically: +1. Define the has_many :searched_searchings macro as: ``has_many :searched_searchings, class_name: 'Unidom::Action::Searching', as: :searcher_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``