inova_dynamic_link 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/inova_dynamic_link/branch.rb +1 -1
- data/lib/inova_dynamic_link/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14d6713faeaedfda3450ab4d36f9eda5a4828458bab6431c16e3ad7ab32d47f2
|
4
|
+
data.tar.gz: 5b45f6f660ca99475499457bd7ee1861d2dafff0d7d0715952e6b510f6dae0f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea275b92de08733bdfac4104a3bb92d0a6aee923e0e6aa5e8f5760bc2e39b8a1d378576cda4eb88986543a66d20650d25b8a03d2546f48add0f357aea8ee7772
|
7
|
+
data.tar.gz: b7fa9ae07631f5cf150093d8197cd17320283ec31cf9e77f463757b539f9c5a1fc10d22316f5b9c5acbde779ca61ea08d25e422ec3ad46190de588de50cfa84d
|
data/CHANGELOG.md
CHANGED
@@ -44,7 +44,7 @@ module InovaDynamicLink
|
|
44
44
|
config_hash_array = branch_link_configuration_array.map{|config| config.to_hash}
|
45
45
|
response = HTTParty.post(BRANCH_URI + "/bulk/" + @branch_key, headers: DEFAULT_HEADERS, body: config_hash_array.to_json)
|
46
46
|
raise HTTParty::ResponseError, response unless response.code == 200
|
47
|
-
JSON.parse(response.body)
|
47
|
+
JSON.parse(response.body).map{|resp| resp["url"]}
|
48
48
|
end
|
49
49
|
|
50
50
|
def get(url)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inova_dynamic_link
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmed Mos`ad
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.3
|
87
|
+
rubygems_version: 3.2.3
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: Ruby gem to manage dynamic links using branch.io.
|