class ShopifyAPI::Auth::Oauth::AccessTokenResponse

Public Instance Methods

==(other) click to toggle source
# File lib/shopify_api/auth/oauth/access_token_response.rb, line 24
def ==(other)
  return false unless other

  access_token == other.access_token &&
    scope == other.scope &&
    session == other.session &&
    expires_in == other.expires_in &&
    associated_user == other.associated_user &&
    associated_user_scope == other.associated_user_scope
end
Also aliased as: eql?
eql?(other)
Alias for: ==
online_token?() click to toggle source
# File lib/shopify_api/auth/oauth/access_token_response.rb, line 18
def online_token?
  !associated_user.nil?
end