lib/cloud_convert/client.rb in cloudconvert-ruby-0.1.1 vs lib/cloud_convert/client.rb in cloudconvert-ruby-0.1.2
- old
+ new
@@ -40,10 +40,10 @@
##
# Returns an array of hash with the results from the Cloud Convert list endpoint.
def list
url = "#{CloudConvert::PROTOCOL}://api.#{CloudConvert::DOMAIN}/processes"
- response = CloudConvert::Client.send(:get, url, query: {apikey: self.api_key})
+ response = CloudConvert::Client.send(:get, url, {query: {apikey: self.api_key}})
return convert_response response
end
private