Method: Line::Bot::V2::Webhook::UnsendDetail#==

Defined in:
lib/line/bot/v2/webhook/model/unsend_detail.rb

#==(other) ⇒ Boolean

Returns true if the objects are equal, false otherwise.

Parameters:

  • other (Object)

    Object to compare

Returns:

  • (Boolean)

    true if the objects are equal, false otherwise



50
51
52
53
54
55
56
# File 'lib/line/bot/v2/webhook/model/unsend_detail.rb', line 50

def ==(other)
  return false unless self.class == other.class

  instance_variables.all? do |var|
      instance_variable_get(var) == other.instance_variable_get(var)
  end
end