Sha256: 13998fd84f0e4efd9c5dbe15f5c18aaa82bd4ddfa6a454d8b96d145810670657
Contents?: true
Size: 317 Bytes
Versions: 15
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true module SolidusNexio class BasePaymentController < ::Spree::Api::BaseController skip_before_action :authenticate_user before_action :payment_method private def payment_method @payment_method ||= PaymentMethod.find(params[:payment_method_id]) end end end
Version data entries
15 entries across 15 versions & 1 rubygems