Class: Igniter::Extensions::Contracts::CollectionPack::Invocation

Inherits:
Struct
  • Object
show all
Defined in:
lib/igniter/extensions/contracts/collection_pack.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_graphObject

Returns the value of attribute compiled_graph

Returns:

  • (Object)

    the current value of compiled_graph



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def compiled_graph
  @compiled_graph
end

#inputsObject

Returns the value of attribute inputs

Returns:

  • (Object)

    the current value of inputs



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def inputs
  @inputs
end

#itemsObject

Returns the value of attribute items

Returns:

  • (Object)

    the current value of items



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def items
  @items
end

#key_nameObject

Returns the value of attribute key_name

Returns:

  • (Object)

    the current value of key_name



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def key_name
  @key_name
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def operation
  @operation
end

#profileObject

Returns the value of attribute profile

Returns:

  • (Object)

    the current value of profile



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def profile
  @profile
end

#windowObject

Returns the value of attribute window

Returns:

  • (Object)

    the current value of window



9
10
11
# File 'lib/igniter/extensions/contracts/collection_pack.rb', line 9

def window
  @window
end