Class: Servactory::Info::Builder
- Inherits:
-
Object
- Object
- Servactory::Info::Builder
- Defined in:
- lib/servactory/info/builder.rb
Overview
rubocop:disable Metrics/ClassLength
Instance Attribute Summary collapse
-
#inputs ⇒ Object
readonly
Returns the value of attribute inputs.
-
#internals ⇒ Object
readonly
Returns the value of attribute internals.
-
#outputs ⇒ Object
readonly
Returns the value of attribute outputs.
-
#stages ⇒ Object
readonly
Returns the value of attribute stages.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#inputs ⇒ Object (readonly)
Returns the value of attribute inputs.
6 7 8 |
# File 'lib/servactory/info/builder.rb', line 6 def inputs @inputs end |
#internals ⇒ Object (readonly)
Returns the value of attribute internals.
6 7 8 |
# File 'lib/servactory/info/builder.rb', line 6 def internals @internals end |
#outputs ⇒ Object (readonly)
Returns the value of attribute outputs.
6 7 8 |
# File 'lib/servactory/info/builder.rb', line 6 def outputs @outputs end |
#stages ⇒ Object (readonly)
Returns the value of attribute stages.
6 7 8 |
# File 'lib/servactory/info/builder.rb', line 6 def stages @stages end |
Class Method Details
.build ⇒ Object
11 12 13 |
# File 'lib/servactory/info/builder.rb', line 11 def self.build(...) new.build(...) end |
Instance Method Details
#build(collection_of_inputs:, collection_of_internals:, collection_of_outputs:, collection_of_stages:, config:) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/servactory/info/builder.rb', line 15 def build(collection_of_inputs:, collection_of_internals:, collection_of_outputs:, collection_of_stages:, config:) build_all_attributes( inputs: collection_of_inputs, internals: collection_of_internals, outputs: collection_of_outputs, stages: collection_of_stages, config: ) self end |