Class: CustomActiveRecordObserver::Rules::CreateRule

Inherits:
BaseRule
  • Object
show all
Defined in:
lib/custom_active_record_observer/rules/create_rule.rb

Instance Attribute Summary

Attributes inherited from BaseRule

#block

Instance Method Summary collapse

Methods inherited from BaseRule

#call, #initialize

Constructor Details

This class inherits a constructor from CustomActiveRecordObserver::Rules::BaseRule

Instance Method Details

#allowed?(changes) ⇒ Boolean



4
5
6
# File 'lib/custom_active_record_observer/rules/create_rule.rb', line 4

def allowed?(changes)
  true
end