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 Import |
× |
UNCOV
4
|
class BroadcastMapping |
× |
5 |
# Maps broadcasts to a list of recording files.
|
|
6 |
# .klass defines the actual strategy to be used for that
|
|
UNCOV
7
|
module Builder |
× |
8 |
|
|
UNCOV
9
|
mattr_writer :klass
|
× |
10 |
|
|
UNCOV
11
|
def self.klass |
× |
UNCOV
12
|
@@klass ||= const_get(ENV['BROADCAST_MAPPING_BUILDER'].presence || 'AirtimeDb') |
× |
UNCOV
13
|
end
|
× |
14 |
|
|
UNCOV
15
|
def self.new(recordings) |
× |
UNCOV
16
|
klass.new(recordings) |
× |
UNCOV
17
|
end
|
× |
18 |
|
|
UNCOV
19
|
end
|
× |
UNCOV
20
|
end
|
× |
UNCOV
21
|
end
|
× |