Class: ShopifyAPI::Auth::AssociatedUser

Inherits:
T::Struct
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/shopify_api/auth/associated_user.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/shopify_api/auth/associated_user.rb', line 20

def ==(other)
  if other
    id == other.id &&
      first_name == other.first_name &&
      last_name == other.last_name &&
      email == other.email &&
      email_verified == other.email_verified &&
       == other. &&
      locale == other.locale &&
      collaborator == other.collaborator
  else
    false
  end
end

#eql?Object



18
# File 'lib/shopify_api/auth/associated_user.rb', line 18

alias_method :eql?, :==