push
circleci
0 of 33 new or added lines in 1 file covered. (0.0%)
9374 existing lines in 213 files now uncovered.47 of 9753 relevant lines covered (0.48%)
0.01 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
UNCOV
3
|
module Requests |
× |
| 4 |
# This class is responsible for caching a list of temporary
|
|
| 5 |
# locations in memory
|
|
|
UNCOV
6
|
class TempLocationCache |
× |
|
UNCOV
7
|
include Requests::Bibdata |
× |
| 8 |
|
|
|
UNCOV
9
|
def initialize |
× |
|
UNCOV
10
|
@temp_locations = {}
|
× |
|
UNCOV
11
|
end
|
× |
| 12 |
|
|
|
UNCOV
13
|
def retrieve(item_location_code) |
× |
|
UNCOV
14
|
@temp_locations[item_location_code] ||= get_location_data(item_location_code)
|
× |
|
UNCOV
15
|
end
|
× |
|
UNCOV
16
|
end
|
× |
|
UNCOV
17
|
end
|
× |