Module: ActiveCrew::Authorizable

Extended by:
ActiveSupport::Concern
Included in:
Base
Defined in:
lib/active_crew/concerns/authorizable.rb

Instance Method Summary collapse

Instance Method Details

#can_execute?Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/active_crew/concerns/authorizable.rb', line 5

def can_execute?
  invoker.can? name, self
end