Method: DocuSign::Document#tabs
- Defined in:
- lib/docu_sign/document.rb
#tabs(recipient = nil, &block) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/docu_sign/document.rb', line 16 def tabs(recipient = nil, &block) @tabs ||= DocuSign::ArrayOfTab.new return @tabs unless block_given? self.tab_builder = DocuSign::Builder::TabBuilder.new(self, recipient) @tabs.tap do |a| yield self if block_given? end end |