blob: cabdf68c23ae0d39a509876afe608ef2948be235 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# frozen_string_literal: true
module API
module Entities
class Appearance < Grape::Entity
expose :title
expose :pwa_short_name
expose :description
expose :logo do |appearance, options|
appearance.logo.url
end
expose :pwa_icon do |appearance, options|
appearance.pwa_icon.url
end
expose :header_logo do |appearance, options|
appearance.header_logo.url
end
expose :favicon do |appearance, options|
appearance.favicon.url
end
expose :new_project_guidelines
expose :profile_image_guidelines
expose :header_message
expose :footer_message
expose :message_background_color
expose :message_font_color
expose :email_header_and_footer_enabled
end
end
end
|