Sha256: 5ab89ee1fb60797d0f7ec6cb4df9aa779ba6528e4363cab039c776253fe4a07f

Contents?: true

Size: 580 Bytes

Versions: 4

Compression:

Stored size: 580 Bytes

Contents

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

module FccReboot
  class Client
    attr_accessor *Configuration::VALID_OPTIONS_KEYS

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

    include FccReboot::Client::Connection
    include FccReboot::Client::Request
    include FccReboot::Client::Api
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fcc_reboot-0.2.3 lib/fcc_reboot/client.rb
fcc_reboot-0.2.2 lib/fcc_reboot/client.rb
fcc_reboot-0.2.1 lib/fcc_reboot/client.rb
fcc_reboot-0.1 lib/fcc_reboot/client.rb