Module: UserapiAi

Defined in:
lib/userapi-ai.rb,
lib/userapi/http.rb,
lib/userapi/tools.rb,
lib/userapi/client.rb,
lib/userapi/version.rb

Defined Under Namespace

Modules: HTTP Classes: Client, Configuration, ConfigurationError, Error, Tool

Constant Summary collapse

VERSION =
"0.3.3"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



39
40
41
# File 'lib/userapi-ai.rb', line 39

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

Class Method Details

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

Yields:



43
44
45
# File 'lib/userapi-ai.rb', line 43

def self.configure
  yield(configuration)
end