github
0 of 18 new or added lines in 4 files covered. (0.0%)
3922 existing lines in 105 files now uncovered.0 of 4086 relevant lines covered (0.0%)
0.0 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
UNCOV
3
|
module Admin |
× |
UNCOV
4
|
class ProfileSerializer < ApplicationSerializer |
× |
5 |
|
|
UNCOV
6
|
json_api_swagger_schema do
|
× |
UNCOV
7
|
property :attributes do |
× |
UNCOV
8
|
property :name, type: :string |
× |
UNCOV
9
|
property :description, type: :string |
× |
UNCOV
10
|
property :default, type: :boolean |
× |
UNCOV
11
|
property :created_at, type: :string, format: 'date-time', readOnly: true |
× |
UNCOV
12
|
property :updated_at, type: :string, format: 'date-time', readOnly: true |
× |
UNCOV
13
|
property :creator_id, type: :integer, readOnly: true |
× |
UNCOV
14
|
property :updater_id, type: :integer, readOnly: true |
× |
UNCOV
15
|
end
|
× |
UNCOV
16
|
property :links do |
× |
UNCOV
17
|
property :self, type: :string, format: 'url', readOnly: true |
× |
UNCOV
18
|
end
|
× |
UNCOV
19
|
end
|
× |
20 |
|
|
UNCOV
21
|
attributes :id, :name, :description, :default, |
× |
UNCOV
22
|
:created_at, :updated_at, :creator_id, :updater_id |
× |
23 |
|
|
UNCOV
24
|
link(:self) { admin_profile_path(object) }
|
× |
25 |
|
|
UNCOV
26
|
end
|
× |
UNCOV
27
|
end
|
× |