Method: IssueExporting::ErrorHandler#response_has_error
- Defined in:
- lib/issue_exporter/error_handler.rb
#response_has_error(response) ⇒ Object
3 4 5 |
# File 'lib/issue_exporter/error_handler.rb', line 3 def response_has_error(response) response.code.to_i > 299 end |