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 AudioEncodingsController < ApplicationController |
× |
5 |
|
|
UNCOV
6
|
include Admin::Authenticatable |
× |
7 |
|
|
UNCOV
8
|
swagger_path '/admin/audio_encodings' do |
× |
UNCOV
9
|
operation :get do |
× |
UNCOV
10
|
key :description, 'Returns a list of available audio encodings.' |
× |
UNCOV
11
|
key :tags, [:audio_encoding, :admin] |
× |
12 |
|
|
UNCOV
13
|
response_entities('Admin::AudioEncoding')
|
× |
14 |
|
|
UNCOV
15
|
security jwt_token: []
|
× |
UNCOV
16
|
end
|
× |
UNCOV
17
|
end
|
× |
18 |
|
|
UNCOV
19
|
def index |
× |
UNCOV
20
|
render json: AudioEncoding.list.sort_by(&:codec), |
× |
UNCOV
21
|
each_serializer: Admin::AudioEncodingSerializer |
× |
UNCOV
22
|
end
|
× |
23 |
|
|
UNCOV
24
|
end
|
× |
UNCOV
25
|
end
|
× |