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
|
|
|
UNCOV
2
|
module Requests |
× |
|
UNCOV
3
|
class Libcal |
× |
|
UNCOV
4
|
class << self |
× |
|
UNCOV
5
|
def url(library_code) |
× |
|
UNCOV
6
|
"https://libcal.princeton.edu/seats?lid=#{code_to_libcal[library_code]}"
|
× |
|
UNCOV
7
|
end
|
× |
| 8 |
|
|
|
UNCOV
9
|
private |
× |
| 10 |
|
|
|
UNCOV
11
|
def code_to_libcal |
× |
|
UNCOV
12
|
{
|
× |
|
UNCOV
13
|
"firestone" => "1919", "engineering" => "7832", "lewis" => "3508", "stokes" => "2353", "eastasian" => "10604", |
× |
|
UNCOV
14
|
"mendel" => "10653", "architecture" => "10655", "marquand" => "10656" |
× |
|
UNCOV
15
|
} |
× |
|
UNCOV
16
|
end
|
× |
|
UNCOV
17
|
end
|
× |
|
UNCOV
18
|
end
|
× |
|
UNCOV
19
|
end
|
× |