ey-core 3.2.3 → 3.2.4
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b489ceaf6f7e474b2337f96fc3eafb224a937d99
|
4
|
+
data.tar.gz: 306111004fbbe08ad7e9983098081eae13ec7910
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0c15aea22fd0c244b5240cb41c0b422c64e4721786ba1e4e2f8827b46bfb25e120ee58a5054b742e9b5218d38ed311d46cacdcbbbe8a1d3e20b85ed24a1feac
|
7
|
+
data.tar.gz: cc9fe75f9ea736248b7113ee69535874a186be4c122e02aa174d74e0289bf7104876e189a19ba34d582fce241a07b832168dab6a5659e1956cffb5a0841c85a3
|
@@ -30,12 +30,14 @@ class Ey::Core::Client
|
|
30
30
|
:status => 409,
|
31
31
|
)
|
32
32
|
else
|
33
|
-
|
33
|
+
resource_id = self.serial_id
|
34
|
+
self.data[:addresses][resource_id] = resource.merge(
|
35
|
+
"provider" => provider_id, "id" => resource_id, "resource_url" => "/addresses/#{resource_id}")
|
34
36
|
|
35
37
|
resource.merge!(
|
36
38
|
"provider" => url_for("/providers/#{provider_id}"),
|
37
39
|
"location" => resource['location'],
|
38
|
-
"address" => url_for("/addresses/#{
|
40
|
+
"address" => url_for("/addresses/#{resource_id}"),
|
39
41
|
)
|
40
42
|
|
41
43
|
response(
|
data/lib/ey-core/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ey-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Lane
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|