Method: DocuSign_Maestro::WorkflowInstance#==

Defined in:
lib/docusign_maestro/models/workflow_instance.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared

[View source]

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# File 'lib/docusign_maestro/models/workflow_instance.rb', line 172

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
       == o. &&
      creator_id == o.creator_id &&
      dac_id == o.dac_id &&
      end_date == o.end_date &&
      instance_name == o.instance_name &&
      instance_state == o.instance_state &&
      progress == o.progress &&
      start_date == o.start_date &&
      started_by == o.started_by &&
      template_id == o.template_id &&
      users == o.users
end