Sha256: 154d22f17f208361d37d0aad86c1b742d429ed2e18c0e31e679a156d9aadc566
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
# frozen_string_literal: true module SolidusCulqi module InjectInstallmentsConcern extend ActiveSupport::Concern included do prepend(InstanceMethods) end module InstanceMethods def gateway_options options = super installments = order.installments options[:installments] = installments if installments options end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_culqi-0.1.1 | app/models/concerns/solidus_culqi/inject_installments_concern.rb |
solidus_culqi-0.1.0 | app/models/concerns/solidus_culqi/inject_installments_concern.rb |