circleci
11 of 605 relevant lines covered (1.82%)
0.02 hits per line
1 |
class PlumEventProcessor |
× |
2 |
class Processor |
× |
3 |
attr_reader :event
|
× |
4 |
def initialize(event) |
× |
5 |
@event = event
|
× |
6 |
end
|
× |
7 |
|
× |
8 |
private |
× |
9 |
|
× |
10 |
def exhibits |
× |
11 |
Spotlight::Exhibit.where("slug IN (?)", collection_slugs) |
× |
12 |
end
|
× |
13 |
|
× |
14 |
def manifest_url |
× |
15 |
event["manifest_url"]
|
× |
16 |
end
|
× |
17 |
|
× |
18 |
def collection_slugs |
× |
19 |
event["collection_slugs"]
|
× |
20 |
end
|
× |
21 |
|
× |
22 |
def event_type |
× |
23 |
event["event"]
|
× |
24 |
end
|
× |
25 |
|
× |
26 |
def index |
× |
27 |
Blacklight.default_index.connection
|
× |
28 |
end
|
× |
29 |
end
|
× |
30 |
end
|
× |