README.md in unidom-authorization-1.2.1 vs README.md in unidom-authorization-1.2.2
- old
+ new
@@ -46,6 +46,6 @@
### As Authorized concern
The As Authorized concern do the following tasks for the includer automatically:
1. Define the has_many :authorizings macro as: ``has_many :authorizings, class_name: 'Unidom::Authorization::Authorizing', as: :authorized``
2. Define the has_many :permissions macro as: ``has_many :permissions, through: :authorizings, source: :permission``
3. Define the #is_authorized! method as: ``def is_authorized!(permission: nil, by: nil, at: Time.now)``
-4. Define the #is_authorized? method ``def is_authorized?(permission: nil, at: Time.now)``
+4. Define the #is_authorized? method as: ``def is_authorized?(permission: nil, at: Time.now)``