lib/taric/operation/api.rb in taric-0.1.8 vs lib/taric/operation/api.rb in taric-0.1.9
- old
+ new
@@ -31,10 +31,10 @@
# @param url String
# @param requestor Proc (lambda)
# @param response_handler Proc (lambda)
API_CALL = -> (url:, requestor:, response_handler:) {
response_handler.(requestor.(url))
- }.curry
+ }
end
end
end
\ No newline at end of file