Class: Anthropic::Api::Base
- Inherits:
-
Object
- Object
- Anthropic::Api::Base
- Includes:
- Concerns::Requestable, Concerns::Validatable
- Defined in:
- lib/anthropic/api/base.rb
Overview
Provides a base class for APIs
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(beta: nil) ⇒ Base
constructor
A new instance of Base.
Methods included from Concerns::Validatable
Methods included from Concerns::Requestable
#additional_headers, #beta_headers, #post, #post_as_stream, #uri
Constructor Details
#initialize(beta: nil) ⇒ Base
Returns a new instance of Base.
29 30 31 |
# File 'lib/anthropic/api/base.rb', line 29 def initialize(beta: nil) @beta = beta end |