Method: Line::Bot::V2::ChannelAccessToken::IssueChannelAccessTokenResponse#==

Defined in:
lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.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



70
71
72
73
74
75
76
# File 'lib/line/bot/v2/channel_access_token/model/issue_channel_access_token_response.rb', line 70

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