finapps 0.14.3.pre → 0.14.5.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/finapps/rest/alert.rb +5 -2
- data/lib/finapps/rest/relevance/rulesets.rb +1 -1
- data/lib/finapps/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b98812a0e128e3d789ccd2f95e60bbb4e945c1
|
4
|
+
data.tar.gz: 19fb4b9b938ea074f749f202cf33519b86d75b4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1260e687e2c864124ea761a5769ae782e6b9d221cf407ccda68b3058185cab19b3309dd9ad9ce7328b183544abe02cb03673dd42c3348f0474d4b91a39684efc
|
7
|
+
data.tar.gz: 261c9c70d7154955a5d56f5e8cc8f309b7db9bd6f715fbbd3d93a66e70a24f87a0eeaa307f43c1929317ac16ff5f24837416ae523199ce99ee6ea9134f2fdc49
|
data/lib/finapps/rest/alert.rb
CHANGED
@@ -32,8 +32,8 @@ module FinApps
|
|
32
32
|
|
33
33
|
raise MissingArgumentsError.new 'Missing argument: alert_id.' if alert_id.blank?
|
34
34
|
logger.debug "##{__method__.to_s} => alert_id: #{alert_id.inspect}"
|
35
|
-
raise MissingArgumentsError.new 'Missing argument:
|
36
|
-
logger.debug "##{__method__.to_s} =>
|
35
|
+
raise MissingArgumentsError.new 'Missing argument: alert_id.' if read.blank?
|
36
|
+
logger.debug "##{__method__.to_s} => alert_id: #{read.inspect}"
|
37
37
|
|
38
38
|
end_point = Defaults::END_POINTS[:alert_update]
|
39
39
|
logger.debug "##{__method__.to_s} => end_point: #{end_point}"
|
@@ -54,11 +54,14 @@ module FinApps
|
|
54
54
|
|
55
55
|
raise MissingArgumentsError.new 'Missing argument: alert_id.' if alert_id.blank?
|
56
56
|
logger.debug "##{__method__.to_s} => alert_id: #{alert_id.inspect}"
|
57
|
+
raise MissingArgumentsError.new 'Missing argument: alert_id.' if read.blank?
|
58
|
+
logger.debug "##{__method__.to_s} => alert_id: #{read.inspect}"
|
57
59
|
|
58
60
|
end_point = Defaults::END_POINTS[:alert_delete]
|
59
61
|
logger.debug "##{__method__.to_s} => end_point: #{end_point}"
|
60
62
|
|
61
63
|
path = end_point.sub ':alert_id', ERB::Util.url_encode(alert_id)
|
64
|
+
path = path.sub ':read', ERB::Util.url_encode(read)
|
62
65
|
logger.debug "##{__method__.to_s} => path: #{path}"
|
63
66
|
|
64
67
|
_, error_messages = @client.send(path, :delete)
|
@@ -51,7 +51,7 @@ module FinApps
|
|
51
51
|
path = end_point
|
52
52
|
logger.debug "##{__method__.to_s} => path: #{path}"
|
53
53
|
|
54
|
-
results, error_messages = @client.send(path, :post, params
|
54
|
+
results, error_messages = @client.send(path, :post, params)
|
55
55
|
|
56
56
|
logger.debug "##{__method__.to_s} => Completed"
|
57
57
|
return results, error_messages
|
data/lib/finapps/version.rb
CHANGED