Module: Hanami::Action::Exposable::Guard
- Defined in:
- lib/hanami/action/exposable/guard.rb
Overview
Guard for Exposures API. Prevents exposure of reserved words
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Override Ruby’s hook for modules.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Override Ruby’s hook for modules. It prepends a guard for the exposures logic
31 32 33 34 35 |
# File 'lib/hanami/action/exposable/guard.rb', line 31 def self.included(base) class << base prepend ClassMethods end end |