Module: ErrorTracking::SentryClient::Event

Included in:
ErrorTracking::SentryClient
Defined in:
lib/error_tracking/sentry_client/event.rb

Instance Method Summary collapse

Instance Method Details

#issue_latest_event(issue_id:) ⇒ Object


6
7
8
9
10
# File 'lib/error_tracking/sentry_client/event.rb', line 6

def issue_latest_event(issue_id:)
  latest_event = http_get(api_urls.issue_latest_event_url(issue_id))[:body]

  map_to_event(latest_event)
end