Module: Trailblazer::Operation::Representer

Defined in:
lib/trailblazer/operation/representer.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



2
3
4
5
6
7
# File 'lib/trailblazer/operation/representer.rb', line 2

def self.included(base)
  base.extend Uber::InheritableAttr
  base.inheritable_attr :representer_class
  # TODO: allow representer without contract?!
  base.extend ClassMethods
end