finapps 0.19.0.pre → 0.19.1.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91bf1aa687fb21a7e8a31a1dfc646e9657a4a729
4
- data.tar.gz: e7dbfe7a6d9955faca0dcd49bd7928386ed06e7d
3
+ metadata.gz: 9829aa0b8a59a966477f130f4e53a71aca305327
4
+ data.tar.gz: ff7b38bd40ec72f2ad877e649d3bdfb6a962a7fe
5
5
  SHA512:
6
- metadata.gz: ed0b9462e03cf0a3a469c03aee0e49557aab0aca150cd1bb5f177d54b05101b86e57f6cb20e36dbb3ced69f9ab5d06d13ef3444b90bb0eec7a339f5b1bacfbd9
7
- data.tar.gz: d199bc18fe8acabc1dcb49968075367d531ee171e183f82ad36f6ccd69d762c1662c69108bedc7b75de58345bfd46928a432d6c4c1ccefef389c2c37738f99fb
6
+ metadata.gz: f91f9a4f462212e797c437cefe5df9800e9febd7ab98d0110cedc383d34f4385874414303a89f16085ff87341c7fa36d5ca1e3c613f2719eaf31c2e0def76935
7
+ data.tar.gz: f0d1e156e2314e90d2a49accc8cdadaf644e2d5867f0294f558c2461494a9efaef600a23e7e8cb578ccf77a96acc7f1ac27d3284b6b660fa4bb1401d4a03f104
@@ -75,19 +75,22 @@ module FinApps
75
75
  return user_institution, error_messages
76
76
  end
77
77
 
78
- def mfa(user_institution_id)
78
+ def mfa(user_institution_id, parameters)
79
79
  logger.debug "##{__method__.to_s} => Started"
80
80
 
81
81
  raise MissingArgumentsError.new 'Missing argument: user_institution_id.' if user_institution_id.blank?
82
82
  logger.debug "##{__method__.to_s} => user_institution_id: #{user_institution_id}"
83
83
 
84
+ raise MissingArgumentsError.new 'Missing argument: parameters.' if parameters.blank?
85
+ logger.debug "##{__method__.to_s} => parameters: #{parameters.inspect}"
86
+
84
87
  end_point = Defaults::END_POINTS[:user_institutions_mfa]
85
88
  logger.debug "##{__method__.to_s} => end_point: #{end_point}"
86
89
 
87
90
  path = end_point.sub ':user_institution_id', ERB::Util.url_encode(user_institution_id)
88
91
  logger.debug "##{__method__.to_s} => path: #{path}"
89
92
 
90
- user_institution, error_messages = @client.send(path, :put)
93
+ user_institution, error_messages = @client.send(path, :put, :parameters => parameters)
91
94
 
92
95
  logger.debug "##{__method__.to_s} => Completed"
93
96
  return user_institution, error_messages
@@ -1,3 +1,3 @@
1
1
  module FinApps
2
- VERSION = '0.19.0.pre'
2
+ VERSION = '0.19.1.pre'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finapps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0.pre
4
+ version: 0.19.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erich Quintero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-03 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor