Module: MercuryParser
- Extended by:
- Configuration
- Defined in:
- lib/mercury_parser.rb,
lib/mercury_parser/error.rb,
lib/mercury_parser/client.rb,
lib/mercury_parser/article.rb,
lib/mercury_parser/request.rb,
lib/mercury_parser/version.rb,
lib/mercury_parser/connection.rb,
lib/mercury_parser/api/content.rb,
lib/mercury_parser/configuration.rb
Defined Under Namespace
Modules: API, Configuration, Connection, Request Classes: Article, Client, Error
Constant Summary collapse
- VERSION =
"0.0.1"
Constants included from Configuration
Configuration::DEFAULT_API_ENDPOINT, Configuration::DEFAULT_API_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_CONFIG_KEYS, Configuration::VALID_CONNECTION_KEYS, Configuration::VALID_OPTIONS_KEYS
Class Method Summary collapse
-
.method_missing(method, *args, &block) ⇒ Object
Delegate to MercuryParser::Client.
-
.new(options = {}) ⇒ MercuryParser::Client
Alias for MercuryParser::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 MercuryParser::Client
16 17 18 19 |
# File 'lib/mercury_parser.rb', line 16 def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end |
.new(options = {}) ⇒ MercuryParser::Client
Alias for MercuryParser::Client.new
11 12 13 |
# File 'lib/mercury_parser.rb', line 11 def new( = {}) MercuryParser::Client.new() end |
.respond_to?(method, include_private = false) ⇒ Boolean
21 22 23 |
# File 'lib/mercury_parser.rb', line 21 def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end |