Skip to content

Commit

Permalink
Merge pull request #130 from docusign/DEVDOCS-10482
Browse files Browse the repository at this point in the history
Devdocs 10482
  • Loading branch information
raileendr authored Jun 28, 2023
2 parents 97d5d8a + 69796a6 commit 480d95c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/services/e_sign/eg036_delayed_routing_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ def worker
# Exceptions will be caught by the calling function
envelope_api = create_envelope_api(args)

# Step 3 start
#ds-snippet-start:eSign36Step3
results = envelope_api.create_envelope args[:account_id], envelope_definition
# Step 3 end
#ds-snippet-end:eSign36Step3
envelope_id = results.envelope_id
{ 'envelope_id' => envelope_id }
end

private

def make_envelope(envelope_args)
# Step 2 start
# Create the envelope definition
#ds-snippet-start:eSign36Step2
envelope_definition = DocuSign_eSign::EnvelopeDefinition.new

envelope_definition.email_subject = 'Please sign this document'
Expand Down Expand Up @@ -126,7 +126,7 @@ def make_envelope(envelope_args)
# Request that the envelope be sent by setting status to "sent".
# To request that the envelope be created as a draft, set status to "created"
envelope_definition.status = envelope_args[:status]
# Step 2 end
envelope_definition
#ds-snippet-end:eSign36Step2
end
end

0 comments on commit 480d95c

Please sign in to comment.