Sha256: 50bfbb6296fef6bbe66548cbd0be78930cf93b3ef9c2ee36a833f1df13c3ba62

Contents?: true

Size: 238 Bytes

Versions: 33

Compression:

Stored size: 238 Bytes

Contents

module LucidPolicy
  class Helper < BasicObject
    attr_reader :result

    def initialize
      @result = :deny
    end

    def allow
      @result = :allow
      nil
    end

    def deny
      nil
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
isomorfeus-policy-2.0.22 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.21 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.20 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.19 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.18 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.17 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.16 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.15 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.14 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.13 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.12 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.11 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.10 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.9 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.8 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.7 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.6 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.5 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.4 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.3 lib/isomorfeus_policy/lucid_policy/helper.rb