Class: ShopeePayService::GetInvoice
- Defined in:
- app/services/shopee_pay_service/get_invoice.rb
Instance Method Summary collapse
-
#initialize(reservation, options = {}) ⇒ GetInvoice
constructor
A new instance of GetInvoice.
Methods inherited from Base
Constructor Details
#initialize(reservation, options = {}) ⇒ GetInvoice
Returns a new instance of GetInvoice.
6 7 8 9 |
# File 'app/services/shopee_pay_service/get_invoice.rb', line 6 def initialize(reservation, = {}) @reservation = reservation @options = .reverse_merge(platform_type: 'pc') end |