Send an envelope if status is nil
This commit is contained in:
parent
4b50c0fcfd
commit
05af92c285
@ -66,7 +66,7 @@ module Docurest
|
|||||||
end
|
end
|
||||||
|
|
||||||
def fire
|
def fire
|
||||||
return unless status == 'created'
|
return unless status.nil? || status == 'created'
|
||||||
|
|
||||||
if persisted?
|
if persisted?
|
||||||
Docurest.client.put "/envelopes/#{guid}", {status: :sent}
|
Docurest.client.put "/envelopes/#{guid}", {status: :sent}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user