Module: Trailblazer::V1_1::Operation::Builder

Included in:
Trailblazer::V1_1::Operation
Defined in:
lib/trailblazer/1.1/operation/builder.rb

Overview

Allows to add builders via ::builds.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.extended(extender) ⇒ Object



5
6
7
# File 'lib/trailblazer/1.1/operation/builder.rb', line 5

def self.extended(extender)
  extender.send(:include, Uber::Builder)
end

Instance Method Details

#builder_classObject



9
10
11
# File 'lib/trailblazer/1.1/operation/builder.rb', line 9

def builder_class
  @builders
end

#builder_class=(constant) ⇒ Object



13
14
15
# File 'lib/trailblazer/1.1/operation/builder.rb', line 13

def builder_class=(constant)
  @builders = constant
end