Module: RandomApi
- Extended by:
- Configuration
- Defined in:
- lib/randomapi.rb,
lib/randomapi/api.rb,
lib/randomapi/client.rb,
lib/randomapi/request.rb,
lib/randomapi/version.rb,
lib/randomapi/connection.rb,
lib/randomapi/configuration.rb
Defined Under Namespace
Modules: Configuration, Connection, Request Classes: API, Client
Constant Summary collapse
- VERSION =
"0.0.1"
Constants included from Configuration
Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_API_ID, Configuration::DEFAULT_API_KEY, Configuration::DEFAULT_CONNECTION_OPTIONS, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FORMAT, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_FORMATS, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.client(options = {}) ⇒ Object
10 11 12 |
# File 'lib/randomapi.rb', line 10 def self.client(={}) RandomApi::Client.new() end |