Class: Telnyx::Resources::AI::Anthropic

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/ai/anthropic.rb,
lib/telnyx/resources/ai/anthropic/v1.rb,
sig/telnyx/resources/ai/anthropic.rbs,
sig/telnyx/resources/ai/anthropic/v1.rbs

Defined Under Namespace

Classes: V1

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Anthropic

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.

Returns a new instance of Anthropic.

Parameters:



13
14
15
16
# File 'lib/telnyx/resources/ai/anthropic.rb', line 13

def initialize(client:)
  @client = client
  @v1 = Telnyx::Resources::AI::Anthropic::V1.new(client: client)
end

Instance Attribute Details

#v1Telnyx::Resources::AI::Anthropic::V1 (readonly)



8
9
10
# File 'lib/telnyx/resources/ai/anthropic.rb', line 8

def v1
  @v1
end