lib/paykassa.rb in paykassa-0.1.26 vs lib/paykassa.rb in paykassa-0.1.27
- old
+ new
@@ -21,19 +21,19 @@
end
end
def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:)
raise "api_key not present!" if @paykassa_pay.nil?
- @paykassa_pay.pay({
+ @paykassa_pay.pay(
amount: amount,
shop: shop,
currency: currency,
system_name: system_name,
paid_commision: paid_commission,
number: number,
tag: tag,
priority: priority
- })
+ )
end
def balance(shop:)
raise "api_key not present!" if @paykassa_pay.nil?
@paykassa_pay.balance(shop: shop)