Sha256: 1ccceb5183ee71f633c431c253d22dd15bcf1f8665df93eec91ee7733fe49bed

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

require 'readability_parser/connection'
require 'readability_parser/request'
require 'readability_parser/api/content'
require 'readability_parser/article'


module ReadabilityParser
  class Client
    attr_accessor *Configuration::VALID_CONFIG_KEYS

    def initialize(options={})
      options = ReadabilityParser.options.merge(options)
      Configuration::VALID_OPTIONS_KEYS.each do |key|
        send("#{key}=", options[key])
      end
    end

    include ReadabilityParser::Connection
    include ReadabilityParser::Request
    include ReadabilityParser::API::Content
  end # Client
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
readability_parser-0.0.1 lib/readability_parser/client.rb