restpack_core_client 0.2.5 → 0.2.6

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
- ZmJlZWFiYjNlNWZiNjkxYmYwNjhjMDc0MTQ3M2JjZTE4ZDgzMGFiZg==
4
+ NTM3ZTA0Y2VmODc4MzExOTY4MmQ4YzNjOWExZWI3Y2Q1MWIxMTRhZA==
5
5
  data.tar.gz: !binary |-
6
- NzM4MjVlNGU2Yjg5ZTNlMmZmMzliM2UzZjMxOTFhZDYxYzAyMDg5Mg==
6
+ MGYxZjgxNTkwZmUwYTVmN2FjMDkzMDA3YmMwMGM2ZWExMzY1NTlmNA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZTMzZDRiMDhiNWY3MzQwMTY4YWI2OWYwNzMyYjkwN2JmMTEwYmVhYzBmMzEw
10
- MGUzOTAxMjEyMzM4ODIxMTNkZDQwMzc0NjdkMzFkZmJhNGQ4ZjBiMDljMGJk
11
- MzBiNTVhMDY2NDFiMzAxNDBiYjJmYzBjYzg2ZTc2ZGI1ZDRiNzg=
9
+ YTQ2MjkyMGYwOTE2OTgzOTQyMzhlNjgyYWVlMTRkMDdhYmIyZjIyMzIyNjhj
10
+ MDRjNzVlNzRjMTBlZTg0OWI0MGVlNTczN2IzZmIzZjg5YzBiYTRkZGZkYTdj
11
+ ZDUwODAyMWY2MjYyMjkxZjljODRmMTM2ZTRhYmYzNzQ1ZTk1M2Q=
12
12
  data.tar.gz: !binary |-
13
- MGI3YzJjZGEzOTNhN2EyMTY3YTYyYjNlYmI4NDAwZGQyOTM4NjY4ZjliZjli
14
- ZmU2ZGFlMTA3NTRjY2NlNzkxZmI1ZGY5YzY0MTA4NTgzYzE3OTIwZGI5MzIx
15
- MWQ0MWY2NGExYjNiMzBlYTNlNmI4YmMwNTMwMjEyYzYzNjU5NWM=
13
+ YWYxZWYxNTRhZjgxM2JjZjM0NTQ4YWQ1YjM4NWJkZTAzY2U3MWQ0YzNiM2Q0
14
+ ZDVhYTk2ZmM3NjRjMjU0MzQ2NjViYWQ3MGY3YmVhMmE1NmExOWI4ZmJmMjVj
15
+ NDIxMjU3OTZhNWRkMmFkOGU1ZDMzODgzOWFlMzMzMGMxMDQwMWE=
@@ -16,6 +16,11 @@ module RestPack
16
16
  Cache.new(api)
17
17
  end
18
18
 
19
+ def get_domain(host)
20
+ channel = get_channel(host)
21
+ channel.get_domain_by_host(host)
22
+ end
23
+
19
24
  def get_channel(host)
20
25
  channel_id = get_channel_id(host)
21
26
  @channels[channel_id] ||= @api.get_channel(channel_id)
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Core
3
3
  module Client
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
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.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce