Sha256: 103af99c5aa9168a8c7753dfcf1f3d3b2ad1e5441a91831fae0b7a118b5c6713

Contents?: true

Size: 84 Bytes

Versions: 2

Compression:

Stored size: 84 Bytes

Contents

class ExamplePolicy < ApplicationPolicy
  def access?
    user == 'admin'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-pundit-0.2.0 example/policies/example_policy.rb
sinatra-pundit-0.1.0 example/policies/example_policy.rb