Module: YoudaoFanyiAPI
- Extended by:
- Configuration
- Defined in:
- lib/youdao_fanyi_api.rb,
lib/youdao_fanyi_api/client.rb,
lib/youdao_fanyi_api/version.rb,
lib/youdao_fanyi_api/configuration.rb
Defined Under Namespace
Modules: Configuration Classes: Client
Constant Summary
- VERSION =
"0.1.2"
Constants included from Configuration
Configuration::DEFAULT_DOCTYPE, Configuration::DEFAULT_OPTIONS, Configuration::DEFAULT_TYPE, Configuration::DEFAULT_VERSION, Configuration::OPTIONS, Configuration::VALID_OPTIONS
Class Method Summary (collapse)
Methods included from Configuration
configure, extended, options, reset
Class Method Details
+ (Object) client
9 10 11 |
# File 'lib/youdao_fanyi_api.rb', line 9 def client @client ||= Client.new end |
+ (Object) method_missing(method, *args, &block)
13 14 15 16 |
# File 'lib/youdao_fanyi_api.rb', line 13 def method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end |