lib/paykassa/pay.rb in paykassa-0.1.7 vs lib/paykassa/pay.rb in paykassa-0.1.8

- old
+ new

@@ -44,11 +44,11 @@ make_request("api_payment",data) end def balance(shop: ) data = { shop: shop, - pi_id: api_id, - api_key: api_key + pi_id: @_auth[:api_id], + api_key: @_auth[:api_key] } make_request("api_get_shop_balance", data, false) end def currency_rate(inn:,out:) if !CURRENCIES.include? inn