Allow http command to keep initial query parameters

This commit is contained in:
railscard committed 2015-12-14 06:16:31 +04:00
1 parent 6c75e89cfe
commit f51a4f25a9
2 files changed
+9 -1

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ module Google
def prepare!
header.update(options.header) if options && options.header
self.url = url.expand(params) if url.is_a?(Addressable::Template)
url.query_values = query
url.query_values = query.merge(url.query_values || {})
end
# Release any resources used by this command