Module: SolidusCulqi::InjectInstallmentsConcern::InstanceMethods

Defined in:
app/models/concerns/solidus_culqi/inject_installments_concern.rb

Instance Method Summary collapse

Instance Method Details

#gateway_optionsObject



11
12
13
14
15
16
# File 'app/models/concerns/solidus_culqi/inject_installments_concern.rb', line 11

def gateway_options
  options = super
  installments = order.try(:installments)
  options[:installments] = installments if installments
  options
end