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.2 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.1 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc10 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc9 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc8 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc7 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc6 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc5 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc4 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc3 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc2 lib/isomorfeus_policy/lucid_policy/helper.rb
isomorfeus-policy-2.0.0.rc1 lib/isomorfeus_policy/lucid_policy/helper.rb