Sha256: 116344cf32cbcfb5a803089beb538b24a37b807a232d7c8900d5e2716a51525c

Contents?: true

Size: 592 Bytes

Versions: 2

Compression:

Stored size: 592 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

2 entries across 2 versions & 1 rubygems

Version Path
readability_parser-0.0.3 lib/readability_parser/client.rb
readability_parser-0.0.2 lib/readability_parser/client.rb