require 'open311/client/connection' require 'open311/client/request' require 'open311/client/service' module Open311 class Client attr_accessor *Configuration::VALID_OPTIONS_KEYS def initialize(options={}) options = Open311.options.merge(options) Configuration::VALID_OPTIONS_KEYS.each do |key| send("#{key}=", options[key]) end end include Open311::Client::Connection include Open311::Client::Request include Open311::Client::Service end end