diff --git a/examples/FaxFiles.rb b/examples/FaxFiles.rb index d867387ad..8f4955da8 100644 --- a/examples/FaxFiles.rb +++ b/examples/FaxFiles.rb @@ -7,11 +7,11 @@ fax_api = Dropbox::Sign::FaxApi.new -faxId = "fa5c8a0b0f492d768749333ad6fcc214c111e967"; +faxId = "fa5c8a0b0f492d768749333ad6fcc214c111e967" begin - file_bin = fax_api.fax_files(data) - FileUtils.cp(file_bin.path, "path/to/file.pdf") + file_bin = fax_api.fax_files(data) + FileUtils.cp(file_bin.path, "path/to/file.pdf") rescue Dropbox::Sign::ApiError => e puts "Exception when calling Dropbox Sign API: #{e}" end