Module: Anthropic::Internal::Type::RequestParameters Private

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Modules: Converter

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#request_optionsvoid

Options to specify HTTP behaviour for this request.

@return [Anthropic::RequestOptions, HashSymbol=>Object]



# File 'lib/anthropic/internal/type/request_parameters.rb', line 8


Class Method Details

.included(mod) ⇒ void

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • mod (Module)

Raises:

  • (ArgumentError)


14
15
16
17
18
# File 'lib/anthropic/internal/type/request_parameters.rb', line 14

def self.included(mod)
  raise ArgumentError.new(mod) unless mod <= Anthropic::Internal::Type::BaseModel

  mod.optional(:request_options, Anthropic::RequestOptions)
end