1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-12 23:09:03 +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