mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-12 23:09:03 +01:00
12 lines
251 B
Ruby
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
|