Class: Anthropic::Messages::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/anthropic/messages/client.rb

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Client

Returns a new instance of Client.



4
5
6
# File 'lib/anthropic/messages/client.rb', line 4

def initialize(client)
  @client = client
end

Instance Method Details

#batchesObject



8
9
10
# File 'lib/anthropic/messages/client.rb', line 8

def batches
  @batches ||= Batches.new(@client)
end