lib/pagseguro/subscriptions.rb in pagseguro_next-0.2.0 vs lib/pagseguro/subscriptions.rb in pagseguro_next-0.3.0

- old
+ new

@@ -13,7 +13,11 @@ def update(code, params) params = parameterize params api.put("/pre-approvals/#{code}/payment-method", params) end + + def url(code) + api.build_url :site, "/v2/pre-approvals/request.html", code: code + end end end