Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ursm committed Jul 7, 2024
1 parent dca81c4 commit 9e65e96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fetch/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def status_text
Rack::Utils::HTTP_STATUS_CODES[status]
end

def json(**opts)
JSON.parse(body, **opts)
def json(...)
JSON.parse(body, ...)
end
}
end

0 comments on commit 9e65e96

Please sign in to comment.