lib/hello_sign/api/unclaimed_draft.rb in hellosign-ruby-sdk-3.5.3 vs lib/hello_sign/api/unclaimed_draft.rb in hellosign-ruby-sdk-3.5.4
- old
+ new
@@ -88,9 +88,10 @@
# :files => ['NDA.pdf', 'AppendixA.pdf']
# )
#
def create_unclaimed_draft opts
prepare_files opts
+ prepare_form_fields opts
if opts[:type] == 'request_signature'
prepare_signers opts
end
HelloSign::Resource::UnclaimedDraft.new post('/unclaimed_draft/create', :body => opts)