From 92f98936bc6b5142b550a65cacea60f99ff9fe45 Mon Sep 17 00:00:00 2001 From: Dan Cecile Date: Tue, 27 Aug 2024 15:28:01 -0400 Subject: [PATCH] Fix README.md typo (#76) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b6c635..0300f15 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ result = call_api(1) result.success? # => true on success, false on failure result.failure? # => true on failure, false on success -result.payload # => raises error on failure, payload type on failure +result.payload # => raises error on failure, payload type on success result.error # => raises error on success, error type on failure result.payload_or("fallback") # => returns payload on success, given value on failure