chanzuckerberg / redis-memo

A Redis-based version addressable caching system. Memoize pure functions, aggregated database queries, and 3rd party API calls.
https://rubygems.org/gems/redis-memo
MIT License
33 stars 3 forks source link

Add more rdocs for RedisMemo::Batch and RedisMemo::MemoizeMethod #80

Closed katyho closed 3 years ago

katyho commented 3 years ago

Summary

Added a few more rdocs for batch and memoize_method. Feel free to edit or suggest edits as needed!

codecov[bot] commented 3 years ago

Codecov Report

Merging #80 (90fd36c) into main (3dd9c57) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #80   +/-   ##
=======================================
  Coverage   97.63%   97.63%           
=======================================
  Files          40       40           
  Lines        2328     2328           
=======================================
  Hits         2273     2273           
  Misses         55       55           
Impacted Files Coverage Δ
lib/redis_memo.rb 97.56% <ø> (ø)
lib/redis_memo/future.rb 98.36% <ø> (ø)
lib/redis_memo/batch.rb 100.00% <100.00%> (ø)
lib/redis_memo/memoize_method.rb 98.03% <100.00%> (ø)
spec/memoize_method_spec.rb 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 3dd9c57...90fd36c. Read the comment docs.