mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
Disable rubocop Style/PredicateName check against override of Spree method
This commit is contained in:
@@ -7,7 +7,7 @@ Spree::CreditCard.class_eval do
|
||||
# Should be able to remove once we reach Spree v2.2.0
|
||||
# Commit: https://github.com/spree/spree/commit/5a4d690ebc64b264bf12904a70187e7a8735ef3f
|
||||
# See also: https://github.com/spree/spree_gateway/issues/111
|
||||
def has_payment_profile?
|
||||
def has_payment_profile? # rubocop:disable Style/PredicateName
|
||||
gateway_customer_profile_id.present? || gateway_payment_profile_id.present?
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user