Add support for :get_url SignatureRequest#signature_request_files
ignacy opened this issue · comments
Signature Request Get Files API supports get_url
parameter which returns URL to file instead of the file itself but it's impossible to pass this parameter to this method:
+1
+1
Wasted a ton of time on this because didn't think to check if the gem handled all the options referenced in the documentation.
Should be a quick fix to handle this option.
def signature_request_files(opts)
path = "/signature_request/files/#{opts[:signature_request_id]}"
if opts[:get_url]
path = path + "?get_url=#{opts[:get_url]}"
elsif opts[:file_type]
path = path + "?file_type=#{opts[:file_type]}"
end
get(path)
end
+1
Pull Request issued: #40
This has been added and released. Thanks all!