require 'fullcontact/connection' require 'fullcontact/request' module FullContact # @private class API # @private attr_accessor *Configuration::VALID_OPTIONS_KEYS # Creates a new API def initialize(options={}) options = FullContact.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Connection include Request end end