lib/paykassa/pay.rb in paykassa-0.1.0 vs lib/paykassa/pay.rb in paykassa-0.1.1

- old
+ new

@@ -28,11 +28,11 @@ } def initialize(domain:, api_id:, api_key:, test: false) @token = api_password @_auth = {domain: domain, api_id: api_id, api_key: api_key, test: test} end - def pay(amount: amount, shop: shop, currency: currency, system_name: system_name, paid_commission: "shop", number:, tag:, priority:) + def pay(amount: , shop: , currency: , system_name: , paid_commission: "shop", number:, tag:, priority:) data = { amount: amount, shop: shop, currency: currency, system: SYSTEM_IDS[system_name], @@ -41,10 +41,10 @@ tag: tag, priority: priority } make_request("api_payment",data) end - def balance(shop: shop) + def balance(shop: ) data = { shop: shop, pi_id: api_id, api_key: api_key }