Skip to content
  • Sander Verdonschot's avatar
    4cfdcfef
    Make return values of Cache::Store#write consistent · 4cfdcfef
    Sander Verdonschot authored
    The return value was not specified before. Now it returns `true` on a
    successful write, `nil` if there was an error talking to the cache
    backend, and `false` if the write failed for another reason (e.g. the
    key already exists and `unless_exist: true` was passed).
    4cfdcfef
    Make return values of Cache::Store#write consistent
    Sander Verdonschot authored
    The return value was not specified before. Now it returns `true` on a
    successful write, `nil` if there was an error talking to the cache
    backend, and `false` if the write failed for another reason (e.g. the
    key already exists and `unless_exist: true` was passed).
Loading