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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be60852cce9d0df54765e8887f953cbcf9022bfe
4
- data.tar.gz: d0bc351daa64ec5bf88215f811b4a6e7652d8b1d
3
+ metadata.gz: 95b98812a0e128e3d789ccd2f95e60bbb4e945c1
4
+ data.tar.gz: 19fb4b9b938ea074f749f202cf33519b86d75b4c
5
5
  SHA512:
6
- metadata.gz: f0ee43149d6fac658874afff3e9df245a42b6d927f40265a008cddf743effa2b048e02cded1b1a0e540bb798f403bcc1b1291ea15e8d228e723f9bece1516698
7
- data.tar.gz: 568a2eca7b01f7444696e98ea044cef955b4d7dac5718001977a1053cf1e23d75d071c0dc755e7b2b787d07d1cb3816108c45cc02cf3da97279060a0a713228e
6
+ metadata.gz: 1260e687e2c864124ea761a5769ae782e6b9d221cf407ccda68b3058185cab19b3309dd9ad9ce7328b183544abe02cb03673dd42c3348f0474d4b91a39684efc
7
+ data.tar.gz: 261c9c70d7154955a5d56f5e8cc8f309b7db9bd6f715fbbd3d93a66e70a24f87a0eeaa307f43c1929317ac16ff5f24837416ae523199ce99ee6ea9134f2fdc49
@@ -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: read.' if read.blank?
36
- logger.debug "##{__method__.to_s} => read: #{read.inspect}"
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.compact)
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
@@ -1,3 +1,3 @@
1
1
  module FinApps
2
- VERSION = '0.14.3.pre'
2
+ VERSION = '0.14.5.pre'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.3.pre
4
+ version: 0.14.5.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero