Module: SentryTopErrors::ApiResponse::ExtMethods
Instance Method Summary collapse
Instance Method Details
#headers ⇒ Object
30 31 32 |
# File 'lib/sentry_top_errors/api_response.rb', line 30 def headers @response.headers end |
#http_success? ⇒ Boolean
22 23 24 |
# File 'lib/sentry_top_errors/api_response.rb', line 22 def http_success? @response.status < 400 end |
#status ⇒ Object
26 27 28 |
# File 'lib/sentry_top_errors/api_response.rb', line 26 def status @response.status end |