lib/archivesspace/client/request.rb in archivesspace-client-0.1.11 vs lib/archivesspace/client/request.rb in archivesspace-client-0.1.12

- old
+ new

@@ -24,10 +24,11 @@ def initialize(config, method = 'GET', path = '', options = {}) @config = config @method = method.downcase.to_sym @path = path.gsub(%r{^/+}, '') @options = options - @options[:headers] = options[:headers] ? default_headers(@method).merge(options[:headers]) : default_headers(@method) + @options[:headers] = + options[:headers] ? default_headers(@method).merge(options[:headers]) : default_headers(@method) @options[:verify] = config.verify_ssl @options[:query] = {} unless options.key? :query self.class.debug_output($stdout) if @config.debug