Module: ArmoryApi
- Extended by:
- Configuration
- Defined in:
- lib/armory_api.rb,
lib/armory_api/api.rb,
lib/armory_api/error.rb,
lib/armory_api/client.rb,
lib/armory_api/default.rb,
lib/armory_api/version.rb,
lib/armory_api/client/item.rb,
lib/armory_api/configurable.rb,
lib/armory_api/configuration.rb,
lib/armory_api/client/character.rb,
lib/armory_api/client/achievement.rb
Defined Under Namespace
Modules: API, Configurable, Configuration, Default Classes: Client, Error, InternalServerError, NotFound, RealmNotFound
Constant Summary collapse
- VERSION =
"0.1.1"
Constants included from Configuration
Configuration::DEFAULT_CONNECTION_OPTIONS, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_LOCALE, Configuration::DEFAULT_MIDDLEWARE, Configuration::DEFAULT_REGION, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to ArmoryApi::Client.new.
-
.new(options = {}) ⇒ ArmoryApi::Client
Shortcut for ArmoryApi::Client.new.
- .respond_to?(method, include_private = false) ⇒ Boolean
Methods included from Configuration
configure, extended, options, reset
Class Method Details
.method_missing(method, *args, &block) ⇒ Object
Delegate to ArmoryApi::Client.new
17 18 19 20 |
# File 'lib/armory_api.rb', line 17 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ ArmoryApi::Client
Shortcut for ArmoryApi::Client.new
12 13 14 |
# File 'lib/armory_api.rb', line 12 def new(={}) ArmoryApi::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
22 23 24 |
# File 'lib/armory_api.rb', line 22 def respond_to?(method, include_private=false) new.respond_to?(method, include_private) || super(method, include_private) end |