Module: ErrorTracking::SentryClient::Repo

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

Instance Method Summary collapse

Instance Method Details

#repos(organization_slug) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/error_tracking/sentry_client/repo.rb', line 6

def repos(organization_slug)
  repos_url = repos_api_url(organization_slug)

  repos = http_get(repos_url)[:body]

  handle_mapping_exceptions do
    map_to_repos(repos)
  end
end