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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjljNDhhMWEyMjRhOTQzYzNhYTZkMDkzNTY0OTE4Y2E5ODgxNDllYg==
4
+ ZmZlZGE2YjU4ZWFmNTYyYmE3ZWEyYjQ5NTRiYjdiYjlmNjA3MjY3MQ==
5
5
  data.tar.gz: !binary |-
6
- ZTBmZTJhM2QwNzcxNWZiMmFjMDcwODE4MzNkY2JlZjc0OTIwNmVlOQ==
6
+ NDNhOWU3NmY0MWJlMWVhMDdkNmM5YzMxYzlkZWY5NTYwZWMwNGVkZA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTA3NTg5ZGVkNzk1Yjk1NDM5ODA5MzJjNTc3OTE4M2VjZTJiYTNhNGM4ZjE2
10
- NjMwOTlkYzM3ZTU4ODY2NTQyOWVmY2EyYzhmNmJiOWNkMzQ0Nzk3OTJjZDky
11
- NmRlZTYyOTAzZjIxMmExOTQxOTU4Nzg0ZjRlYTcyMDM5NGViY2I=
9
+ Y2FjZWJmNWFlMzlmYzJhZTM2OTA3MmRjN2UwYmRjOTcyMWQ1ZTJkNDBiMmZi
10
+ MWVkYTQ1M2RjZWMxZWQ2YmVjOWY0NzZjMTAxNTc1MzU5OGFiMWExMDJhN2Rm
11
+ MmUwMjg0NDQxMjQzMTJjMTA5ZDZiOGMzNDc5NDM3OWJiYTkxN2U=
12
12
  data.tar.gz: !binary |-
13
- NjU5YjU2YjQ3ZjFlMjFmMDE4MmNmZmVhNzIyMTMzYjdjYTA1ZjdmZWMwYmI5
14
- YjJjZjYwZDljZTMxYzc5Y2YzNmU0NGViOTg4YWQ3Yjk0NTJmN2FmNDZkMjQy
15
- M2ZkMDQyNWIwZTJjMDkxZDk0ZjU5MTZjOGFkNjAyY2JjNTQ2YTM=
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)[:channel_id]
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
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Core
3
3
  module Client
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: restpack_core_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce