Sha256: 9d7c71a568960947af3f17c483357b8202b80bf73e52844a6fc1c3684f75ddfd

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

require ::File.expand_path('../client/connection', __FILE__)
require ::File.expand_path('../client/request', __FILE__)
require ::File.expand_path('../client/products.rb', __FILE__)


module Recalls
  class Client
    attr_accessor *Configuration::VALID_OPTIONS_KEYS

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

    include Recalls::Client::Connection
    include Recalls::Client::Request
    include Recalls::Client::Products     
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
recalls-0.1 lib/recalls/client.rb
Recalls-0.1 lib/recalls/client.rb