lib/moip2/refund_api.rb in moip2-0.1.4 vs lib/moip2/refund_api.rb in moip2-1.0.0
- old
+ new
@@ -17,10 +17,11 @@
def show(id)
Resource::Refund.new client, client.get("/v2/refunds/#{id}")
end
private
- def base_resource(id)
- id.start_with?("PAY") ? "payments" : "orders"
- end
+
+ def base_resource(id)
+ id.start_with?("PAY") ? "payments" : "orders"
+ end
end
-end
\ No newline at end of file
+end