Method: Kickflow::TicketInput#==

Defined in:
lib/kickflow/models/ticket_input.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



169
170
171
172
173
174
175
176
177
178
179
180
# File 'lib/kickflow/models/ticket_input.rb', line 169

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      value == o.value &&
      form_field == o.form_field &&
      general_master_items == o.general_master_items &&
      users == o.users &&
      teams == o.teams &&
      input_tickets == o.input_tickets &&
      attachments == o.attachments
end