finapps 0.2.2.pre → 0.2.3.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 +9 -1
- data/lib/finapps/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50ed13a5c50feed3bf70ef189b5d9ef7b2a13787
|
|
4
|
+
data.tar.gz: c9239faec0a0fec29892e4f5853160c754756b19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79f821c0440007724afc2fa3a57f970e552cd26536c8de223ba2f626035b7bd612e0233dad9071658e777078372d029a2e14bee9418b9df6d301bd916e7c6e25
|
|
7
|
+
data.tar.gz: 3130db23dbfde3729218a0f239c26efc80dd72ab9691053cbcb9f00723d99a513728f5ccad8705d313faada6dcd2a2428384fbccca3b49daf2f9a0272845d1d2
|
|
@@ -102,7 +102,15 @@ module FinApps
|
|
|
102
102
|
def initialize(hash)
|
|
103
103
|
super
|
|
104
104
|
@accounts ||= []
|
|
105
|
-
|
|
105
|
+
|
|
106
|
+
logger.debug "##{__method__.to_s} => Parsing accounts array"
|
|
107
|
+
if hash[:accounts].present? && hash[:accounts].respond_to?(:each)
|
|
108
|
+
logger.debug hash[:accounts].pretty_print
|
|
109
|
+
hash[:accounts].each do |a|
|
|
110
|
+
logger.debug a.pretty_print
|
|
111
|
+
@accounts << FinApps::REST::Account.new(a)
|
|
112
|
+
end
|
|
113
|
+
end
|
|
106
114
|
end
|
|
107
115
|
end
|
|
108
116
|
|
data/lib/finapps/version.rb
CHANGED