restpack_core_client 0.2.3 → 0.2.4

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
- NTM2ZGFiOWMwZjhhYWZiN2JlNWI3M2VmNjEwNDgwZTZkZDgzYzM2ZA==
4
+ M2FlZmMyY2Q0ZWU0YzczNGYwOTNkNWI0YzJkMzViM2FmMWQ1NGZmOQ==
5
5
  data.tar.gz: !binary |-
6
- YTNmNTMxZGQyNGJiOTZmMWZiMzQwZDczYTRmNTQ5MjY4NDhjYTNiZg==
6
+ Yzc1MjgzNWEzYWI1ZTMwNWE2NTcyYTViNmUwOTQ5OGY3OGJkYzc3MQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZGNjMTJlZjVhNGVkODY4NjUwYzJkOWM5MTZhYmNjZGM3NjNiY2VlNjZhNmQy
10
- OWY3ZTE4MDRlMWNjZDdiYTg4ZmI1NWM4NDYwNGRhNDk2ODk2NzY2ZjM0ZWQ2
11
- MThlY2NkYTk5YTJlNGM1MjdhZjcwZGY4YjEwYmQ5M2FkMTc1ZTA=
9
+ MWFjNzg2OWM5YmNjOTVhNDg0YzA3M2Y3NjMzZDhkMDdkODIxZDg1YWE0NjNm
10
+ MTZkZWEyZjY2MjE3YzljM2FmMWJlMTQyNmM5ZTY3MmU4Yzg5ZWYyMGIzM2E0
11
+ MmJiZWMwODUyZWUxZGQ3MjlmNDU2Njc4MWZiYWUzZTRjMDk5NmU=
12
12
  data.tar.gz: !binary |-
13
- NmE0MTdkZmI4NzhmZmZkNzExMWM2Zjg2ZTQ3MzJkMjczZTI0ZjUwODBmYWU0
14
- ZWU2MmFmMGVlN2UyMTcwM2I5MGQ1Nzk4ZGIzY2RhZmNmYjk0MWY4N2E2MDNh
15
- ZjI0ZTFiMDc1ZGFjODg2M2U0NzU4MTc1MzZjMGJmY2YwMzRhMzA=
13
+ Y2NiMzM0YzhlZTRhMzNkY2E3M2U4MDA4NDUwMWM5MjI5MDA4NWZjMTNiYWVh
14
+ OWE3NzJkNDlhYTA4NmQ3MGMxNTdhMzQ4OTMzNGNkMTYzYTFiYWVjZDdlMGQ2
15
+ NTE3Y2I5NDhlYTA5MDNmNmEyZWU5NGRiY2U1ZDFiNTUyOTdkODM=
@@ -10,8 +10,8 @@ module RestPack::Core::Client
10
10
 
11
11
  if channel
12
12
  @channel = channel
13
- @application = channel.get_application(data[:application_id])
14
- @domain = channel.get_domain(data[:domain_id])
13
+ @application = channel.get_application(data[:links][:application]) if data[:links][:application]
14
+ @domain = channel.get_domain(data[:links][:domain]) if data[:links][:domain]
15
15
 
16
16
  @channel.configurations << self
17
17
  @application.configurations << self if @application
@@ -1,7 +1,7 @@
1
1
  module RestPack
2
2
  module Core
3
3
  module Client
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin Joyce