lib/signaturit_client.rb in signaturit-sdk-0.0.3 vs lib/signaturit_client.rb in signaturit-sdk-0.0.4
- old
+ new
@@ -170,9 +170,17 @@
params[:templates] = [params[:templates]].flatten() if params[:templates]
request :post, '/v2/signs.json', params
end
+ # Cancel a signature request
+ #
+ # Params
+ # +signature_id++:: The id of the signature object
+ def cancel_signature_request(signature_id)
+ request :patch, "/v2/signs/#{signature_id}/cancel.json"
+ end
+
# Get a concrete branding
#
# Params
# +branding_id+:: The id of the branding object
def get_branding(branding_id)