push
github
0 of 23 new or added lines in 7 files covered. (0.0%)
3917 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 AccessCodeSerializer < ApplicationSerializer |
× |
5 |
|
|
UNCOV
6
|
json_api_swagger_schema do
|
× |
UNCOV
7
|
property :attributes do |
× |
UNCOV
8
|
property :code, type: :string, format: 'date', readOnly: true |
× |
UNCOV
9
|
property :expires_at, type: :string, format: 'date' |
× |
UNCOV
10
|
end
|
× |
UNCOV
11
|
property :links do |
× |
UNCOV
12
|
property :self, type: :string, format: 'url', readOnly: true |
× |
UNCOV
13
|
end
|
× |
UNCOV
14
|
property :created_at, type: :string, format: 'date-time', readOnly: true |
× |
UNCOV
15
|
property :creator_id, type: :integer, readOnly: true |
× |
UNCOV
16
|
end
|
× |
17 |
|
|
UNCOV
18
|
attributes :id, :code, :expires_at, :created_at, :creator_id |
× |
19 |
|
|
UNCOV
20
|
link(:self) { admin_access_code_path(object) }
|
× |
21 |
|
|
UNCOV
22
|
end
|
× |
UNCOV
23
|
end
|
× |