def setup(options={})
      options.each do |k,v|
        self.set(k,v,true)
      end
      options = Nimbu.options.merge(options)
      self.current_options = options
      Configuration.keys.each do |key|
        send("#{key}=", options[key])
      end
      process_basic_auth(options[:basic_auth])
    end
def setup(options={})
      options.each do |k,v|
        self.set(k,v,true)
      end
      options = Nimbu.options.merge(options)
      self.current_options = options
      Configuration.keys.each do |key|
        send("#{key}=", options[key])
      end
      process_basic_auth(options[:basic_auth])
    end
Configure options and process basic authorization