plaid 6.3.1 → 7.0.0.rc0
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/CHANGELOG.md +0 -4
- data/Gemfile.lock +14 -14
- data/lib/plaid/models.rb +134 -13
- data/lib/plaid/version.rb +2 -2
- data/plaid.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f251b7c70ec04163c7e8e4fd398fb51289335177
|
4
|
+
data.tar.gz: d2a80a47518e12c6ca387e16d23a005d30bf4d63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf03af5a0686a67c11388a8ba91fc10728c0c2d6e61e9fa48e1f9374d569eda9f4251b19dac1a83a5b300ebb553a6fc38cc642f47db93e0350c80c7e6e075264
|
7
|
+
data.tar.gz: 52fee6178dd77d0cb0320744c55f9b594a9cd40c10050876b238ba805ef857ed3fec2a8e7d6029b4fd466b19abb1e4a825c7c35bc0d603b293e4608c6ba2aaa1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
plaid (
|
4
|
+
plaid (7.0.0.rc0)
|
5
5
|
faraday
|
6
6
|
faraday_middleware
|
7
7
|
hashie (>= 3.4.3)
|
@@ -10,23 +10,23 @@ GEM
|
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
12
|
ast (2.4.0)
|
13
|
-
dotenv (2.
|
14
|
-
faraday (0.15.
|
13
|
+
dotenv (2.7.1)
|
14
|
+
faraday (0.15.4)
|
15
15
|
multipart-post (>= 1.2, < 3)
|
16
|
-
faraday_middleware (0.
|
16
|
+
faraday_middleware (0.13.1)
|
17
17
|
faraday (>= 0.7.4, < 1.0)
|
18
|
-
hashie (3.
|
18
|
+
hashie (3.6.0)
|
19
19
|
minitest (5.11.3)
|
20
20
|
minitest-around (0.4.1)
|
21
21
|
minitest (~> 5.0)
|
22
22
|
multipart-post (2.0.0)
|
23
|
-
parallel (1.
|
24
|
-
parser (2.
|
23
|
+
parallel (1.14.0)
|
24
|
+
parser (2.6.0.0)
|
25
25
|
ast (~> 2.4.0)
|
26
|
-
powerpack (0.1.
|
26
|
+
powerpack (0.1.2)
|
27
27
|
rainbow (3.0.0)
|
28
|
-
rake (12.3.
|
29
|
-
rdoc (6.
|
28
|
+
rake (12.3.2)
|
29
|
+
rdoc (6.1.1)
|
30
30
|
rubocop (0.53.0)
|
31
31
|
parallel (~> 1.10)
|
32
32
|
parser (>= 2.5)
|
@@ -34,17 +34,17 @@ GEM
|
|
34
34
|
rainbow (>= 2.2.2, < 4.0)
|
35
35
|
ruby-progressbar (~> 1.7)
|
36
36
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
37
|
-
ruby-progressbar (1.
|
37
|
+
ruby-progressbar (1.10.0)
|
38
38
|
sdoc (1.0.0)
|
39
39
|
rdoc (>= 5.0)
|
40
|
-
unicode-display_width (1.
|
40
|
+
unicode-display_width (1.5.0)
|
41
41
|
vcr (4.0.0)
|
42
42
|
|
43
43
|
PLATFORMS
|
44
44
|
ruby
|
45
45
|
|
46
46
|
DEPENDENCIES
|
47
|
-
bundler (~> 1.
|
47
|
+
bundler (~> 1.17)
|
48
48
|
dotenv
|
49
49
|
minitest (~> 5.10)
|
50
50
|
minitest-around (~> 0.4.0)
|
@@ -55,4 +55,4 @@ DEPENDENCIES
|
|
55
55
|
vcr (~> 4.0.0)
|
56
56
|
|
57
57
|
BUNDLED WITH
|
58
|
-
1.
|
58
|
+
1.17.3
|
data/lib/plaid/models.rb
CHANGED
@@ -233,6 +233,44 @@ module Plaid
|
|
233
233
|
property :institution
|
234
234
|
end
|
235
235
|
|
236
|
+
# Public: A representation of an international account number.
|
237
|
+
class NumberInternational < BaseModel
|
238
|
+
##
|
239
|
+
# :attr_reader:
|
240
|
+
# Public: The String account ID. E.g.
|
241
|
+
# "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D".
|
242
|
+
property :account_id
|
243
|
+
|
244
|
+
##
|
245
|
+
# :attr_reader:
|
246
|
+
# Public: The account's IBAN.
|
247
|
+
property :iban
|
248
|
+
|
249
|
+
##
|
250
|
+
# :attr_reader:
|
251
|
+
# Public: The account's BIC.
|
252
|
+
property :bic
|
253
|
+
end
|
254
|
+
|
255
|
+
# Public: A representation of an BACS (UK) account number.
|
256
|
+
class NumberBACS < BaseModel
|
257
|
+
##
|
258
|
+
# :attr_reader:
|
259
|
+
# Public: The String account ID. E.g.
|
260
|
+
# "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D".
|
261
|
+
property :account_id
|
262
|
+
|
263
|
+
##
|
264
|
+
# :attr_reader:
|
265
|
+
# Public: The account's (UK) account number.
|
266
|
+
property :account
|
267
|
+
|
268
|
+
##
|
269
|
+
# :attr_reader:
|
270
|
+
# Public: The account's (UK) sort code.
|
271
|
+
property :sort_code
|
272
|
+
end
|
273
|
+
|
236
274
|
# Public: A representation of a Auth Numbers response
|
237
275
|
class Numbers < BaseModel
|
238
276
|
##
|
@@ -244,6 +282,16 @@ module Plaid
|
|
244
282
|
# :attr_reader:
|
245
283
|
# Public: The Array of NumberEFT.
|
246
284
|
property :eft, coerce: Array[NumberEFT]
|
285
|
+
|
286
|
+
##
|
287
|
+
# :attr_reader:
|
288
|
+
# Public: The Array of NumberInternational.
|
289
|
+
property :international, coerce: Array[NumberInternational]
|
290
|
+
|
291
|
+
##
|
292
|
+
# :attr_reader:
|
293
|
+
# Public: The Array of NumberBACS.
|
294
|
+
property :bacs, coerce: Array[NumberBACS]
|
247
295
|
end
|
248
296
|
|
249
297
|
# Public: A representation of a transaction category.
|
@@ -359,13 +407,18 @@ module Plaid
|
|
359
407
|
|
360
408
|
##
|
361
409
|
# :attr_reader:
|
362
|
-
# Public: The String
|
363
|
-
property :
|
410
|
+
# Public: The String region name.
|
411
|
+
property :region
|
364
412
|
|
365
413
|
##
|
366
414
|
# :attr_reader:
|
367
|
-
# Public: The String
|
368
|
-
property :
|
415
|
+
# Public: The String postal code.
|
416
|
+
property :postal_code
|
417
|
+
|
418
|
+
##
|
419
|
+
# :attr_reader:
|
420
|
+
# Public: The String country, an ISO-3166-1 alpha-2 code.
|
421
|
+
property :country
|
369
422
|
end
|
370
423
|
|
371
424
|
# Public: A representation of Identity address data.
|
@@ -664,8 +717,8 @@ module Plaid
|
|
664
717
|
|
665
718
|
##
|
666
719
|
# :attr_reader:
|
667
|
-
# Public: The String
|
668
|
-
property :
|
720
|
+
# Public: The String region name (or nil).
|
721
|
+
property :region
|
669
722
|
|
670
723
|
##
|
671
724
|
# :attr_reader:
|
@@ -674,8 +727,13 @@ module Plaid
|
|
674
727
|
|
675
728
|
##
|
676
729
|
# :attr_reader:
|
677
|
-
# Public: The String
|
678
|
-
property :
|
730
|
+
# Public: The String postal code (or nil).
|
731
|
+
property :postal_code
|
732
|
+
|
733
|
+
##
|
734
|
+
# :attr_reader:
|
735
|
+
# Public: The String country, an ISO-3166-1 alpha-2 code.
|
736
|
+
property :country
|
679
737
|
end
|
680
738
|
|
681
739
|
# Public: A representation of Transaction Payment meta information.
|
@@ -793,13 +851,37 @@ module Plaid
|
|
793
851
|
property :unofficial_currency_code
|
794
852
|
end
|
795
853
|
|
854
|
+
# Public: A representation of Identity address details returned by the
|
855
|
+
# assets endpoint.
|
856
|
+
class AssetReportAddressData < BaseModel
|
857
|
+
##
|
858
|
+
# :attr_reader:
|
859
|
+
# Public: The String street name.
|
860
|
+
property :street
|
861
|
+
|
862
|
+
##
|
863
|
+
# :attr_reader:
|
864
|
+
# Public: The String name.
|
865
|
+
property :city
|
866
|
+
|
867
|
+
##
|
868
|
+
# :attr_reader:
|
869
|
+
# Public: The String state name.
|
870
|
+
property :state
|
871
|
+
|
872
|
+
##
|
873
|
+
# :attr_reader:
|
874
|
+
# Public: The String ZIP code.
|
875
|
+
property :zip
|
876
|
+
end
|
877
|
+
|
796
878
|
# Public: A representation of an asset report address.
|
797
879
|
class AssetReportAddress < BaseModel
|
798
880
|
##
|
799
881
|
# :attr_reader:
|
800
882
|
# Public: Data about the components comprising an address; see
|
801
|
-
#
|
802
|
-
property :data, coerce:
|
883
|
+
# AssetReportAddressData object for fields.
|
884
|
+
property :data, coerce: AssetReportAddressData
|
803
885
|
|
804
886
|
##
|
805
887
|
# :attr_reader:
|
@@ -890,6 +972,45 @@ module Plaid
|
|
890
972
|
property :unofficial_currency_code
|
891
973
|
end
|
892
974
|
|
975
|
+
# Public: A representation of Transaction location returned by asset
|
976
|
+
# reports.
|
977
|
+
class AssetReportTransactionLocation < BaseModel
|
978
|
+
##
|
979
|
+
# :attr_reader:
|
980
|
+
# Public: The String address (or nil).
|
981
|
+
property :address
|
982
|
+
|
983
|
+
##
|
984
|
+
# :attr_reader:
|
985
|
+
# Public: The String city name (or nil).
|
986
|
+
property :city
|
987
|
+
|
988
|
+
##
|
989
|
+
# :attr_reader:
|
990
|
+
# Public: The Numeric latitude of the place (or nil).
|
991
|
+
property :lat
|
992
|
+
|
993
|
+
##
|
994
|
+
# :attr_reader:
|
995
|
+
# Public: The Numeric longitude of the place (or nil).
|
996
|
+
property :lon
|
997
|
+
|
998
|
+
##
|
999
|
+
# :attr_reader:
|
1000
|
+
# Public: The String state name (or nil).
|
1001
|
+
property :state
|
1002
|
+
|
1003
|
+
##
|
1004
|
+
# :attr_reader:
|
1005
|
+
# Public: The String store number (or nil).
|
1006
|
+
property :store_number
|
1007
|
+
|
1008
|
+
##
|
1009
|
+
# :attr_reader:
|
1010
|
+
# Public: The String ZIP code (or nil).
|
1011
|
+
property :zip
|
1012
|
+
end
|
1013
|
+
|
893
1014
|
# Public: A representation of an asset report transaction.
|
894
1015
|
class AssetReportTransaction < BaseModel
|
895
1016
|
##
|
@@ -964,9 +1085,9 @@ module Plaid
|
|
964
1085
|
|
965
1086
|
##
|
966
1087
|
# :attr_reader: Public: The location where transaction occurred
|
967
|
-
# (
|
968
|
-
# Insights.
|
969
|
-
property :location, coerce:
|
1088
|
+
# (AssetReportTransactionLocation). This field only appears in an Asset
|
1089
|
+
# Report with Insights.
|
1090
|
+
property :location, coerce: AssetReportTransactionLocation
|
970
1091
|
|
971
1092
|
##
|
972
1093
|
# :attr_reader: Public: The String transaction name (or nil). This field
|
data/lib/plaid/version.rb
CHANGED
data/plaid.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
38
38
|
spec.add_dependency 'faraday_middleware'
|
39
39
|
spec.add_dependency 'hashie', '>= 3.4.3'
|
40
40
|
|
41
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
41
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
42
42
|
spec.add_development_dependency 'dotenv'
|
43
43
|
spec.add_development_dependency 'minitest', '~> 5.10'
|
44
44
|
spec.add_development_dependency 'minitest-around', '~> 0.4.0'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plaid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.0.0.rc0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edmund Loo
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '1.
|
61
|
+
version: '1.17'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '1.
|
68
|
+
version: '1.17'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: dotenv
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -222,9 +222,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: 2.1.0
|
223
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
224
|
requirements:
|
225
|
-
- - "
|
225
|
+
- - ">"
|
226
226
|
- !ruby/object:Gem::Version
|
227
|
-
version:
|
227
|
+
version: 1.3.1
|
228
228
|
requirements: []
|
229
229
|
rubyforge_project:
|
230
230
|
rubygems_version: 2.5.1
|