Module: Anthropic

Defined in:
lib/anthropic/http.rb,
lib/anthropic.rb,
lib/anthropic/client.rb,
lib/anthropic/version.rb,
lib/anthropic/http_headers.rb

Overview

rubocop:disable Metrics/ModuleLength

Defined Under Namespace

Modules: HTTP, HTTPHeaders Classes: Client, Configuration, ConfigurationError, Error, MiddlewareErrors

Constant Summary collapse

VERSION =
"0.3.2".freeze

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



59
60
61
# File 'lib/anthropic.rb', line 59

def self.configuration
  @configuration ||= Anthropic::Configuration.new
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



63
64
65
# File 'lib/anthropic.rb', line 63

def self.configure
  yield(configuration)
end