Method: Falcon::DomainAccessTokenResponseV1#==

Defined in:
lib/crimson-falcon/models/domain_access_token_response_v1.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



145
146
147
148
149
150
151
152
153
154
155
# File 'lib/crimson-falcon/models/domain_access_token_response_v1.rb', line 145

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      access_token == o.access_token &&
      expires_in == o.expires_in &&
      id_token == o.id_token &&
      issued_token_type == o.issued_token_type &&
      refresh_token == o.refresh_token &&
      scope == o.scope &&
      token_type == o.token_type
end