circleci
0 of 1967 relevant lines covered (0.0%)
0.0 hits per line
1 |
# frozen_string_literal: true
|
× |
2 |
|
× |
3 |
class FiggyEventProcessor |
× |
4 |
class Processor |
× |
5 |
attr_reader :event
|
× |
6 |
def initialize(event) |
× |
7 |
@event = event
|
× |
8 |
end
|
× |
9 |
|
× |
10 |
private |
× |
11 |
|
× |
12 |
def exhibits |
× |
13 |
Spotlight::Exhibit.where("slug IN (?)", collection_slugs) |
× |
14 |
end
|
× |
15 |
|
× |
16 |
def manifest_url |
× |
17 |
event["manifest_url"]
|
× |
18 |
end
|
× |
19 |
|
× |
20 |
def collection_slugs |
× |
21 |
event["collection_slugs"]
|
× |
22 |
end
|
× |
23 |
|
× |
24 |
def event_type |
× |
25 |
event["event"]
|
× |
26 |
end
|
× |
27 |
end
|
× |
28 |
end
|
× |