StandardRb

This commit is contained in:
2024-03-22 08:48:47 +11:00
parent a2c11de10f
commit f48e41728a
6 changed files with 9 additions and 10 deletions

View File

@@ -22,7 +22,7 @@ module Adamantium
handle_exception ROM::TupleCountMismatchError => :not_found
handle_exception StandardError => :handle_error
def cache(key:, params: [], content_proc:, expiry: TimeMath.min.advance(Time.now, +10))
def cache(key:, content_proc:, params: [], expiry: TimeMath.min.advance(Time.now, +10))
cacher.call(key: key, params: params, content_proc: content_proc, expiry: expiry)
end