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 +4 -4
- data/lib/finapps/rest/user_institutions.rb +5 -2
- data/lib/finapps/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9829aa0b8a59a966477f130f4e53a71aca305327
|
|
4
|
+
data.tar.gz: ff7b38bd40ec72f2ad877e649d3bdfb6a962a7fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/finapps/version.rb
CHANGED
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.
|
|
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-
|
|
11
|
+
date: 2015-04-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|