2020-01-13 16:07:39 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module API
|
|
|
|
module Entities
|
|
|
|
module ErrorTracking
|
|
|
|
class ProjectSetting < Grape::Entity
|
2020-01-16 19:09:00 -05:00
|
|
|
expose :enabled, as: :active
|
2020-01-13 16:07:39 -05:00
|
|
|
expose :project_name
|
|
|
|
expose :sentry_external_url
|
|
|
|
expose :api_url
|
2021-08-17 02:08:59 -04:00
|
|
|
expose :integrated
|
2020-01-13 16:07:39 -05:00
|
|
|
end
|
2021-08-19 08:08:53 -04:00
|
|
|
|
|
|
|
class ClientKey < Grape::Entity
|
|
|
|
expose :id
|
|
|
|
expose :active
|
|
|
|
expose :public_key
|
2021-08-23 23:10:40 -04:00
|
|
|
expose :sentry_dsn
|
2021-08-19 08:08:53 -04:00
|
|
|
end
|
2020-01-13 16:07:39 -05:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|