finapps 0.19.1.pre → 0.20.0.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/defaults.rb +1 -0
- data/lib/finapps/rest/user_institutions.rb +18 -0
- 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: c2b441b6d839e1edeb4b0038fe102bd1fc6a40e2
|
4
|
+
data.tar.gz: ee5a5b77d1b2035af588976f177f2acd872ddf0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51f37754818a93adb9853f3e1209f64727361540160091ea576520b649eb6a5e2a44b95372ffadf17f42f03c3b11f5169ee26bfaa9a382b41972b143dafef8b8
|
7
|
+
data.tar.gz: 3d5caaf520453a94bd4f4ce562c2dd54cf65b649a227bc2c4c38d40284335139778de42ffa8d51b6e8b43ee74995440a354acf558b7bcf9d1d33a2eb2790be56
|
@@ -41,6 +41,7 @@ module FinApps
|
|
41
41
|
:user_institutions_status => 'institutions/user/:user_institution_id/status',
|
42
42
|
:user_institutions_mfa => 'institutions/user/:user_institution_id/mfa',
|
43
43
|
:user_institutions_refresh => 'institutions/user/refresh',
|
44
|
+
:user_institutions_form => 'institutions/user/:user_institution_id/form',
|
44
45
|
|
45
46
|
:transactions_show => 'transaction/:transaction_id',
|
46
47
|
:transactions_list => 'transactions/search',
|
@@ -57,6 +57,24 @@ module FinApps
|
|
57
57
|
return user_institution, error_messages
|
58
58
|
end
|
59
59
|
|
60
|
+
def form(user_institution_id)
|
61
|
+
logger.debug "##{__method__.to_s} => Started"
|
62
|
+
|
63
|
+
raise MissingArgumentsError.new 'Missing argument: user_institution_id.' if user_institution_id.blank?
|
64
|
+
logger.debug "##{__method__.to_s} => user_institution_id: #{user_institution_id}"
|
65
|
+
|
66
|
+
end_point = Defaults::END_POINTS[:user_institutions_form]
|
67
|
+
logger.debug "##{__method__.to_s} => end_point: #{end_point}"
|
68
|
+
|
69
|
+
path = end_point.sub ':user_institution_id', ERB::Util.url_encode(user_institution_id)
|
70
|
+
logger.debug "##{__method__.to_s} => path: #{path}"
|
71
|
+
|
72
|
+
user_institution, error_messages = @client.send(path, :get)
|
73
|
+
|
74
|
+
logger.debug "##{__method__.to_s} => Completed"
|
75
|
+
return user_institution, error_messages
|
76
|
+
end
|
77
|
+
|
60
78
|
def status(user_institution_id)
|
61
79
|
logger.debug "##{__method__.to_s} => Started"
|
62
80
|
|
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.
|
4
|
+
version: 0.20.0.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-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|