lib/loopiator/credits.rb in loopiator-0.2.0 vs lib/loopiator/credits.rb in loopiator-0.3.0

- old
+ new

@@ -1,14 +1,14 @@ module Loopiator module Credits # https://www.loopia.se/api/getcreditsamount/ - def get_credits_amount(with_vat = true, customer_number = "") + def get_credits_amount(include_vat: true, customer_number: "") call("getCreditsAmount", customer_number, with_vat).to_f end # https://www.loopia.se/api/payinvoiceusingcredits/ - def pay_invoice_using_credits(reference_number, customer_number = "") + def pay_invoice_using_credits(reference_number, customer_number: "") parse_status_response(call("payInvoiceUsingCredits", customer_number, reference_number.to_s)) end end end \ No newline at end of file