Method: Anthropic::Resources::Beta#initialize
- Defined in:
- lib/anthropic/resources/beta.rb
#initialize(client:) ⇒ Beta
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 Beta.
21 22 23 24 25 26 27 |
# File 'lib/anthropic/resources/beta.rb', line 21 def initialize(client:) @client = client @models = Anthropic::Resources::Beta::Models.new(client: client) @messages = Anthropic::Resources::Beta::Messages.new(client: client) @files = Anthropic::Resources::Beta::Files.new(client: client) @skills = Anthropic::Resources::Beta::Skills.new(client: client) end |