Module: HALDecorator::Policy

Included in:
HALDecorator
Defined in:
lib/hal_decorator/policy.rb,
lib/hal_decorator/policy/dsl.rb

Defined Under Namespace

Modules: DSL

Instance Method Summary collapse

Instance Method Details

#policy(clazz) ⇒ Object



4
5
6
# File 'lib/hal_decorator/policy.rb', line 4

def policy(clazz)
  @_policy = clazz
end