Sha256: 8d6cdff3c8aa0eeef2fdd149b682978c437a19b0b40c8404896c2452f29bbf0e
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
module CanTango module PermitEngine module Executor class Abstract attr_accessor :permit def initialize permit @permit = permit end def permit? permit.permit? if permit end def execute! raise "Must be implemented by subclass" end protected def options permit.options end def subject permit.subject end def user permit.user end def user_account permit.user_account end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cantango-0.8.0 | lib/cantango/permit_engine/executor/abstract.rb |