Method: Hanami::ClassMethods.extended

Defined in:
lib/hanami/interactor.rb

.extended(interactor) ⇒ 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.

Since:

  • 0.5.0



567
568
569
570
571
572
573
574
# File 'lib/hanami/interactor.rb', line 567

def self.extended(interactor)
  interactor.class_eval do
    include Utils::ClassAttribute

    class_attribute :exposures
    self.exposures = {}
  end
end