Sha256: 4ba595714cb4e171fa040751552deed3cb331e31d0aa3a19ba4a2f76c092098a

Contents?: true

Size: 306 Bytes

Versions: 65

Compression:

Stored size: 306 Bytes

Contents

# frozen_string_literal: true

module Spree
  module Admin
    module PaymentsHelper
      def payment_method_name(payment)
        Spree::Deprecation.warn "payment_method_name(payment) is deprecated. Instead use payment.payment_method.name"
        payment.payment_method.name
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 2 rubygems

Version Path
solidus_backend-2.11.17 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.16 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.15 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.14 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.13 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.12 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.11 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.10.5 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.10 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.9 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.8 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.7 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.6 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.5 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.4 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.3 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.2 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.1 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.10.3 app/helpers/spree/admin/payments_helper.rb
solidus_backend-2.11.0 app/helpers/spree/admin/payments_helper.rb