module Quiver::Mapper::Hook

Public Instance Methods

after_dehydrate(attributes) click to toggle source
# File lib/quiver/mapper/hook.rb, line 8
def after_dehydrate(attributes)
  attributes
end
after_save(result) click to toggle source
# File lib/quiver/mapper/hook.rb, line 16
def after_save(result)
  result
end
before_hydrate(attributes) click to toggle source
# File lib/quiver/mapper/hook.rb, line 4
def before_hydrate(attributes)
  attributes
end
before_save(model) click to toggle source
# File lib/quiver/mapper/hook.rb, line 12
def before_save(model)
  model
end