Skip to content

Commit c7a9f38

Browse files
committed
added selected as an attribtue
1 parent b626f2d commit c7a9f38

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/docusign_rest/client.rb

+1
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ def get_tabs(tabs, options, index)
412412
tab_hash[:width] = tab[:width] if tab[:width]
413413
tab_hash[:height] = tab[:height] if tab[:width]
414414
tab_hash[:value] = tab[:value] if tab[:value]
415+
tab_hash[:selected] = tab[:selected] if tab[:selected]
415416

416417
tab_hash[:locked] = tab[:locked] || false
417418

test/docusign_rest/client_test.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
anchor_x_offset: '10',
115115
anchor_y_offset: '-5',
116116
label: 'another test',
117+
selected: true,
117118
list_items: [
118119
{
119120
selected: false,
@@ -263,4 +264,4 @@
263264
end
264265
end
265266
end
266-
end
267+
end

0 commit comments

Comments
 (0)