lib/hello_sign/api/template.rb in hellosign-api-1.0.5 vs lib/hello_sign/api/template.rb in hellosign-api-1.0.6
- old
+ new
@@ -174,9 +174,10 @@
def create_embedded_template_draft(opts)
opts[:client_id] ||= self.client_id
prepare_files opts
prepare_signer_roles opts
prepare_attachments opts
+ prepare_merge_fields opts
HelloSign::Resource::TemplateDraft.new post("/template/create_embedded_draft", body: opts)
end
# Downloads the original files of a specified Template.
# @option opts [String] template_id The Template ID to retrieve.