lib/grape/dsl/callbacks.rb in grape-1.5.1 vs lib/grape/dsl/callbacks.rb in grape-1.5.2
- old
+ new
@@ -57,10 +57,10 @@
# finally do
# ApiLogger.close
# end
# end
#
- # This will make sure that the ApiLogger is opened and close around every
+ # This will make sure that the ApiLogger is opened and closed around every
# request
# @param ensured_block [Proc] The block to be executed after every api_call
def finally(&block)
namespace_stackable(:finallies, block)
end