Sha256: b535ef14d9763ab23a01473d32ebd94e469181c938e41a6f2a3fb0355e715e21
Contents?: true
Size: 817 Bytes
Versions: 2
Compression:
Stored size: 817 Bytes
Contents
require 'mercury_web_parser/configuration' require 'mercury_web_parser/client' module MercuryWebParser extend Configuration class << self # Alias for MercuryWebParser::Client.new # # @return [MercuryWebParser::Client] def new(options = {}) MercuryWebParser::Client.new(options) end # Delegate to MercuryWebParser::Client def method_missing(method, *args, &block) return super unless new.respond_to?(method) new.send(method, *args, &block) end def respond_to?(method, include_private = false) new.respond_to?(method, include_private) || super(method, include_private) end def respond_to_missing?(method_name, include_private = false) Configuration::VALID_CONFIG_KEYS.include?(method_name) || super end end end # MercuryWebParser
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mercury_web_parser-0.1.2 | lib/mercury_web_parser.rb |
mercury_web_parser-0.1.0 | lib/mercury_web_parser.rb |