Method: FireflyIIIClient::ChartDataSet#==

Defined in:
lib/firefly_iii_client/models/chart_data_set.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



144
145
146
147
148
149
150
151
152
153
154
155
# File 'lib/firefly_iii_client/models/chart_data_set.rb', line 144

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      label == o.label &&
      currency_id == o.currency_id &&
      currency_code == o.currency_code &&
      currency_symbol == o.currency_symbol &&
      currency_decimal_places == o.currency_decimal_places &&
      type == o.type &&
      y_axis_id == o.y_axis_id &&
      entries == o.entries
end