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