Method: DocuSign_eSign::EnvelopeDefinition#to_hash

Defined in:
lib/docusign_esign/models/envelope_definition.rb

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1003
1004
1005
1006
1007
1008
1009
1010
1011
# File 'lib/docusign_esign/models/envelope_definition.rb', line 1003

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end