README.md in cloudconvert-ruby-0.1.1 vs README.md in cloudconvert-ruby-0.1.2

- old
+ new

@@ -1,8 +1,8 @@ # CloudConvert-Ruby -CloudConvert-Ruby is a ruby wrapper for the [Cloud Convert](https://www.google.com) api. It takes an object oriented approach to using the API, allowing you to quickly execute and access your conversions. +CloudConvert-Ruby is a ruby wrapper for the [Cloud Convert](https://cloudconvert.com/) api. It takes an object oriented approach to using the API, allowing you to quickly execute and access your conversions. This gem is in its very early stage and is updated as the need arises for a new feature. I would appreciate any comments or suggestions. ## Installation @@ -20,16 +20,18 @@ ```ruby @client = CloudConvert::Client.new(api_key: "Your API Key") @process = @client.build_process(input_format: "jpg", output_format: "pdf") @process_response = @process.create -@conversion_response = @process.convert( - input: "download", - outputformat: "pdf", - file: "link to image", - download: "false" - ) if @process_response[:success] if @process_response[:success] + @conversion_response = @process.convert( + input: "download", + outputformat: "pdf", + file: "link to image", + download: "false" + ) +end +if @conversion_response[:success] path = File.join(File.dirname(__FILE__), "output") @download = @process.download(path) end ```