Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
annvelents committed Jul 29, 2024
1 parent a610720 commit 77ef290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class Customer < ApplicationRecord
validates :payment_provider, inclusion: {in: PAYMENT_PROVIDERS}, allow_nil: true
validates :timezone, timezone: true, allow_nil: true

alias :provider_customer :payment_provider_customer
alias_method :provider_customer :payment_provider_customer

def self.ransackable_attributes(_auth_object = nil)
%w[id name external_id email]
Expand Down

0 comments on commit 77ef290

Please sign in to comment.