Class: Smith::Tool::ExecutionBatchSourceCall
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Smith::Tool::ExecutionBatchSourceCall
- 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
-
#initialize ⇒ ExecutionBatchSourceCall
constructor
A new instance of ExecutionBatchSourceCall.
Constructor Details
#initialize ⇒ ExecutionBatchSourceCall
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 |