Sha256: c5fc86a3da6a0bf6128409e465be0acd766d9b85458f3a1800e2d425b7c82ae6

Contents?: true

Size: 268 Bytes

Versions: 2

Compression:

Stored size: 268 Bytes

Contents

module AccessPolicyRails

  module ChangedScopeStorage
    def self.call
      AccessPolicy.module_exec do
        def _scope_storage
          AccessPolicyRails::RequestLocalStorage
        end
      end
    end
  end

end

AccessPolicyRails::ChangedScopeStorage.call

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
access_policy_rails-0.0.2 lib/access_policy_rails/change_storage_scope.rb
access_policy_rails-0.0.1 lib/access_policy_rails/change_storage_scope.rb