Method: Authorization::ObligationScope#scope

Defined in:
lib/declarative_authorization/obligation_scope.rb

#scopeObject



55
56
57
58
59
60
61
62
# File 'lib/declarative_authorization/obligation_scope.rb', line 55

def scope
  if Rails.version < "3"
    self
  else
    # for Rails < 3: scope, after setting proxy_options
    self.klass.scoped(@finder_options)
  end
end