mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +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
|