Sha256: bfd95f21194e4354e9639608a254779dfb4b15c82599458335122c413cd74fe6
Contents?: true
Size: 375 Bytes
Versions: 8
Compression:
Stored size: 375 Bytes
Contents
module CanTango class PermitEngine < Engine module Executor class Base < Abstract # execute the permit def execute! valid_for?(subject) ? permit? : not_candidate_permit end protected def not_candidate_permit debug "Permit #{permit} is not valid for #{subject}" end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems