restpack_core_client 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/restpack_core_client/cache.rb +3 -3
- data/lib/restpack_core_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmZlZGE2YjU4ZWFmNTYyYmE3ZWEyYjQ5NTRiYjdiYjlmNjA3MjY3MQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDNhOWU3NmY0MWJlMWVhMDdkNmM5YzMxYzlkZWY5NTYwZWMwNGVkZA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2FjZWJmNWFlMzlmYzJhZTM2OTA3MmRjN2UwYmRjOTcyMWQ1ZTJkNDBiMmZi
|
10
|
+
MWVkYTQ1M2RjZWMxZWQ2YmVjOWY0NzZjMTAxNTc1MzU5OGFiMWExMDJhN2Rm
|
11
|
+
MmUwMjg0NDQxMjQzMTJjMTA5ZDZiOGMzNDc5NDM3OWJiYTkxN2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGUyYWJiOTZmMzdjY2FjM2I1ZmE4YWRkMjU1ZTk1NDhlNDljOGQ3Mzc2NDNi
|
14
|
+
MmIyNGY4NGM4ZjVhMTgzODczNDdhOTg5MzM3ZGJkMzdhZGE4NGY5NWVlZjIw
|
15
|
+
ZjdlMjAxZWFkYWM2ZjhiNDI4MmE3NTI4YWE4MTNhYjZmYTQ0MWI=
|
@@ -22,13 +22,13 @@ module RestPack
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def get_channel_id(host)
|
25
|
-
@channel_ids[host] ||= @api.get_domain(host)[:
|
25
|
+
@channel_ids[host] ||= @api.get_domain(host)[:links][:channel]
|
26
26
|
end
|
27
27
|
|
28
28
|
def get_configuration(key)
|
29
29
|
@configurations.find { |c| c.key == key.to_s }
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
def get_configuration_value(key, default_value = nil)
|
33
33
|
config = get_configuration(key)
|
34
34
|
config.nil? ? default_value : config.value
|
@@ -36,4 +36,4 @@ module RestPack
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
39
|
-
end
|
39
|
+
end
|