Sha256: 748170b83905ef44cc14f0fa963f8d55755bc0d552cf5cbfb096b6589278f68f
Contents?: true
Size: 313 Bytes
Versions: 23
Compression:
Stored size: 313 Bytes
Contents
require "pundit" module Plutonium module Pundit class Context < ::Pundit::Context def initialize(*, package:, **) super(*, **) @package = package end private def policy_finder(record) PolicyFinder.new(record, package: @package) end end end end
Version data entries
23 entries across 23 versions & 1 rubygems