1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/app/services/payments/local_service.rb
2022-08-26 20:10:21 +02:00

12 lines
251 B
Ruby

# frozen_string_literal: true
# Provides methods for pay cart by Local
class Payments::LocalService
include Payments::PaymentConcern
def payment(order, coupon_code)
o = payment_success(order, coupon_code, 'local')
{ order: o }
end
end