Skip to content

Commit

Permalink
DEVDOCS-10514 cd tags
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Wilde <[email protected]>
  • Loading branch information
AaronWDS authored Nov 8, 2023
1 parent fcd62ca commit b44b104
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions app/services/e_sign/eg040_set_document_visibility_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ def initialize(args)
end

def worker
# Step 3-1 start
#ds-snippet-start:eSign40Step3
envelope_definition = make_envelope args[:envelope_args]
# Step 3-1 end
#ds-snippet-end:eSign40Step3

# Exceptions will be caught by the calling function
# Step 4 start
#ds-snippet-start:eSign40Step4
envelope_api = create_envelope_api(args)

results = envelope_api.create_envelope args[:account_id], envelope_definition
envelope_id = results.envelope_id
# Step 4 end
#ds-snippet-end:eSign40Step4

{ 'envelope_id' => envelope_id }
end

private

# Step 3-2 start
#ds-snippet-start:eSign40Step3
def make_envelope(envelope_args)
# document 1 (HTML) has tag **signature_1**
# document 2 (DOCX) has tag /sn1/
Expand Down Expand Up @@ -147,7 +147,7 @@ def make_envelope(envelope_args)
envelope_definition.status = envelope_args[:status]
envelope_definition
end
# Step 3-2 end
#ds-snippet-end:eSign40Step3

def create_document1(args)
"
Expand Down

0 comments on commit b44b104

Please sign in to comment.