Sha256: 0d214aba9b3184e50da56e935d85f499b1fe7def339c7c99637f77c200739410

Contents?: true

Size: 182 Bytes

Versions: 1

Compression:

Stored size: 182 Bytes

Contents

module Kant
  class NoAccess
    def initialize(user)
    end

    def can?(action, object)
      false
    end

    def accessible(action, scope)
      scope.none
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kant-0.0.2 lib/kant/no_access.rb