Method: Torm::RulesEngine#as_hash
- Defined in:
- lib/torm/rules_engine.rb
#as_hash ⇒ Hash
Return a hash with all rules and policies, useful for serialisation.
78 79 80 81 82 83 |
# File 'lib/torm/rules_engine.rb', line 78 def as_hash { policies: policies, rules: rules } end |