Method: DocuSign_eSign::TemplateAutoMatch#initialize
- Defined in:
- lib/docusign_esign/models/template_auto_match.rb
#initialize(attributes = {}) ⇒ TemplateAutoMatch
Initializes the object
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
# File 'lib/docusign_esign/models/template_auto_match.rb', line 45 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v } if attributes.has_key?(:'autoMatch') self.auto_match = attributes[:'autoMatch'] end if attributes.has_key?(:'errorDetails') self.error_details = attributes[:'errorDetails'] end if attributes.has_key?(:'templateId') self.template_id = attributes[:'templateId'] end end |