Class: Telnyx::Resources::AI::Anthropic
- Inherits:
-
Object
- Object
- Telnyx::Resources::AI::Anthropic
- 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
-
#initialize(client:) ⇒ Anthropic
constructor
private
A new instance of Anthropic.
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.
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
#v1 ⇒ Telnyx::Resources::AI::Anthropic::V1 (readonly)
8 9 10 |
# File 'lib/telnyx/resources/ai/anthropic.rb', line 8 def v1 @v1 end |