Class: Smith::Tool::ExecutionBatchSourceCall

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/smith/tool/execution_batch_source_call.rb

Constant Summary collapse

MAX_NAME_BYTES =
ExecutionBatchSourceMetadata::MAX_NAME_BYTES
MAX_METADATA_BYTES =
ExecutionBatchSourceMetadata::MAX_METADATA_BYTES

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeExecutionBatchSourceCall

Returns a new instance of ExecutionBatchSourceCall.



30
31
32
33
# File 'lib/smith/tool/execution_batch_source_call.rb', line 30

def initialize(...)
  super
  freeze
end

Class Method Details

.capture(key:, tool_call:) ⇒ Object



26
27
28
# File 'lib/smith/tool/execution_batch_source_call.rb', line 26

def self.capture(key:, tool_call:)
  ExecutionBatchSourceMetadata.capture(key:, tool_call:).to_source_call
end