lib/archivesspace/client/request.rb in archivesspace-client-0.1.3 vs lib/archivesspace/client/request.rb in archivesspace-client-0.1.4

- old
+ new

@@ -21,10 +21,10 @@ end def initialize(config, method = "GET", path = "", options = {}) @config = config @method = method.downcase.to_sym - @path = path + @path = path.gsub(/^\/+/, '') @options = options @options[:headers] = options[:headers] ? default_headers(@method).merge(options[:headers]) : default_headers(@method) @options[:verify] = config.verify_ssl @options[:query] = {} unless options.has_key? :query