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

12 lines
251 B
Ruby
Raw Normal View History

2022-08-25 08:52:17 +02:00
# frozen_string_literal: true
# Provides methods for pay cart by Local
class Payments::LocalService
include Payments::PaymentConcern
2022-08-26 20:10:21 +02:00
def payment(order, coupon_code)
o = payment_success(order, coupon_code, 'local')
2022-08-25 08:52:17 +02:00
{ order: o }
end
end