README.md in policy-1.0.4 vs README.md in policy-1.0.5
- old
+ new
@@ -174,11 +174,11 @@
Check policies by names (you can also use singular forms `follow_policy?` and `follow_policy!`):
```ruby
# Checks only consistency and skips all other policies
-transaction.follow_policy? :consistency
-transaction.follow_policy! :consistency
+transfer.follow_policy? :consistency
+transfer.follow_policy! :consistency
```
The set of policies can be checked at once:
```ruby