Module: AthenaResource::Callbacks::InstanceMethods
- Defined in:
- lib/athena_resource/callbacks.rb
Instance Method Summary collapse
- #save ⇒ Object
-
#valid? ⇒ Boolean
Note, that for the time being, validation callbacks are called after before_save, and before after_save.
Instance Method Details
#save ⇒ Object
12 13 14 15 16 |
# File 'lib/athena_resource/callbacks.rb', line 12 def save run_callbacks :save do super end end |
#valid? ⇒ Boolean
Note, that for the time being, validation callbacks are called after before_save, and before after_save
19 20 21 22 23 |
# File 'lib/athena_resource/callbacks.rb', line 19 def valid? run_callbacks :validation do super end end |