method

new

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AssertionResponse
new(code_or_name) public

Accepts a specific response status code as an Integer (404) or String (‘404’) or a response status range as a Symbol pseudo-code (:success, indicating any 200-299 status code).

Show source
Register or log in to add new notes.