Class: Rager::Http::Response
- Inherits:
-
T::Struct
- Object
- T::Struct
- Rager::Http::Response
- Extended by:
- T::Sig
- Defined in:
- lib/rager/http/response.rb
Instance Method Summary collapse
Instance Method Details
#success? ⇒ Boolean
16 17 18 |
# File 'lib/rager/http/response.rb', line 16 def success? status >= 200 && status < 300 end |