finapps 0.19.1.pre → 0.20.0.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: 9829aa0b8a59a966477f130f4e53a71aca305327
4
- data.tar.gz: ff7b38bd40ec72f2ad877e649d3bdfb6a962a7fe
3
+ metadata.gz: c2b441b6d839e1edeb4b0038fe102bd1fc6a40e2
4
+ data.tar.gz: ee5a5b77d1b2035af588976f177f2acd872ddf0a
5
5
  SHA512:
6
- metadata.gz: f91f9a4f462212e797c437cefe5df9800e9febd7ab98d0110cedc383d34f4385874414303a89f16085ff87341c7fa36d5ca1e3c613f2719eaf31c2e0def76935
7
- data.tar.gz: f0d1e156e2314e90d2a49accc8cdadaf644e2d5867f0294f558c2461494a9efaef600a23e7e8cb578ccf77a96acc7f1ac27d3284b6b660fa4bb1401d4a03f104
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
 
@@ -1,3 +1,3 @@
1
1
  module FinApps
2
- VERSION = '0.19.1.pre'
2
+ VERSION = '0.20.0.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.1.pre
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-08 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor