Class: Igniter::Extensions::Contracts::CollectionPack::Invocation
- Inherits:
-
Struct
- Object
- Struct
- Igniter::Extensions::Contracts::CollectionPack::Invocation
- Defined in:
- lib/igniter/extensions/contracts/collection_pack.rb
Instance Attribute Summary collapse
-
#compiled_graph ⇒ Object
Returns the value of attribute compiled_graph.
-
#inputs ⇒ Object
Returns the value of attribute inputs.
-
#items ⇒ Object
Returns the value of attribute items.
-
#key_name ⇒ Object
Returns the value of attribute key_name.
-
#operation ⇒ Object
Returns the value of attribute operation.
-
#profile ⇒ Object
Returns the value of attribute profile.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
-
#initialize(operation:, items:, inputs:, compiled_graph:, profile:, key_name:, window:) ⇒ Invocation
constructor
A new instance of Invocation.
Constructor Details
#initialize(operation:, items:, inputs:, compiled_graph:, profile:, key_name:, window:) ⇒ Invocation
Returns a new instance of Invocation.
11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 11 def initialize(operation:, items:, inputs:, compiled_graph:, profile:, key_name:, window:) super( operation: operation, items: Array(items), inputs: inputs.transform_keys(&:to_sym).freeze, compiled_graph: compiled_graph, profile: profile, key_name: key_name.to_sym, window: window ) end |
Instance Attribute Details
#compiled_graph ⇒ Object
Returns the value of attribute compiled_graph
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def compiled_graph @compiled_graph end |
#inputs ⇒ Object
Returns the value of attribute inputs
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def inputs @inputs end |
#items ⇒ Object
Returns the value of attribute items
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def items @items end |
#key_name ⇒ Object
Returns the value of attribute key_name
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def key_name @key_name end |
#operation ⇒ Object
Returns the value of attribute operation
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def operation @operation end |
#profile ⇒ Object
Returns the value of attribute profile
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def profile @profile end |
#window ⇒ Object
Returns the value of attribute window
9 10 11 |
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9 def window @window end |