Module: HALDecorator::SerializeHooks

Included in:
HALDecorator
Defined in:
lib/hal_decorator/serialize_hooks.rb

Defined Under Namespace

Classes: Hook

Instance Method Summary collapse

Instance Method Details

#post_serialize(&block) ⇒ Object



23
24
25
# File 'lib/hal_decorator/serialize_hooks.rb', line 23

def post_serialize(&block)
  @_post_serialize_hook = Hook.new(&block)
end