plaid 6.0.0 → 6.1.0

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: f4c5640b58e7e3dd7083d0c591e45e715a9909fe
4
- data.tar.gz: b95f33803556ae6f1fbbaaef3c62a782bf479fc4
3
+ metadata.gz: 7753c38b254ac48f1746069f6f581ed48f920aa3
4
+ data.tar.gz: 7d27ac46a42222fd0fb58a5ca54c5fe4edad0012
5
5
  SHA512:
6
- metadata.gz: 5fd30997779f028c382a74542c658a59d0103e05f8c510c1436ee2847ae772c665214855bf70f176d549bfa0ef20048bd2318ecd8cd60e7849f4abd60de8dd11
7
- data.tar.gz: 129a894b83addada9e7b1193baf3e7681a90603c010927b3d75c1d16ef4fd9d3177eb91bde8c84af3c07254b841e0c02c445874c94fb7da62a1c994597b0ee07
6
+ metadata.gz: 1174e08a609f0f11c17008eebb891477f29c40d007d62472641ac499a0eb22ec17edc50a074c61497822f0cc7e701a6566e8f9b09b01a56a3f4b6936162963fc
7
+ data.tar.gz: b3fd48ff05090bb1b55502ff6a19055223c772cf467dd7c416c6751b7020e85b4884f49dd6b6b3807e16c29ad07782302e9af7023a067c5d4c8ed6ecf60d8fe8
@@ -1,3 +1,7 @@
1
+ # 6.1.0 20-Jun-2018
2
+
3
+ * Add bindings for the new [assets product](https://plaid.com/docs/api/#assets).
4
+
1
5
  # 6.0.0 22-May-2018
2
6
 
3
7
  * Use `Plaid-Version` header to request the certain compatible API version.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- plaid (5.0.0)
4
+ plaid (6.1.0)
5
5
  faraday
6
6
  faraday_middleware
7
7
  hashie (>= 3.4.3)
@@ -11,7 +11,7 @@ GEM
11
11
  specs:
12
12
  ast (2.4.0)
13
13
  dotenv (2.4.0)
14
- faraday (0.15.1)
14
+ faraday (0.15.2)
15
15
  multipart-post (>= 1.2, < 3)
16
16
  faraday_middleware (0.12.2)
17
17
  faraday (>= 0.7.4, < 1.0)
@@ -55,4 +55,4 @@ DEPENDENCIES
55
55
  vcr (~> 4.0.0)
56
56
 
57
57
  BUNDLED WITH
58
- 1.16.0
58
+ 1.16.2
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  The official Ruby bindings for the [Plaid API](https://plaid.com/docs).
4
4
 
5
- **Note:** This module was recently refactored and released as version `4.0.x` to support [Plaid's updated API][1]. The previous module version, `3.0.x`, and API legacy documentation, is still available via RubyGems and mirrored as [`plaid-legacy`][2].
6
-
7
5
  ## Installation
8
6
 
9
7
  Add this line to your application's Gemfile:
@@ -20,7 +18,19 @@ Or install it yourself as:
20
18
 
21
19
  $ gem install plaid
22
20
 
23
- The gem supports Ruby 2.1+ only.
21
+ The gem supports Ruby 2.2+ only.
22
+
23
+ ### Versioning
24
+
25
+ Each major version of `plaid-ruby` targets a specific version of the Plaid API:
26
+
27
+ | API version | plaid-ruby release |
28
+ | ----------- | ------------------ |
29
+ | [`2018-05-22`][api-version-2018-05-22] (**latest**) | `6.x.x` |
30
+ | `2017-03-08` | `5.x.x` |
31
+
32
+ For information about what has changed between versions and how to update your integration, head to the [version changelog][version-changelog].
33
+
24
34
 
25
35
  ## Usage
26
36
 
@@ -222,5 +232,10 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/plaid/
222
232
 
223
233
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
224
234
 
225
- [1]: https://blog.plaid.com/improving-our-api/
235
+ ### Legacy API
236
+
237
+ If you're looking for a Ruby client that works with the legacy Plaid API, use the [`plaid-legacy` gem][2].
238
+
226
239
  [2]: https://github.com/plaid/plaid-ruby-legacy
240
+ [version-changelog]: https://plaid.com/docs/version-changelog
241
+ [api-version-2018-05-22]: https://plaid.com/docs/api-upgrades#2018-05-22
data/Rakefile CHANGED
@@ -4,6 +4,7 @@ require 'rdoc/task'
4
4
  require 'rake/testtask'
5
5
  require 'dotenv/load'
6
6
  require 'fileutils'
7
+ require 'tmpdir'
7
8
 
8
9
  RDoc::Task.new do |rdoc|
9
10
  rdoc.rdoc_dir = 'doc/rdoc'
@@ -7,6 +7,7 @@ require_relative 'plaid/errors'
7
7
  require_relative 'plaid/version'
8
8
  require_relative 'plaid/models'
9
9
  require_relative 'plaid/products/accounts'
10
+ require_relative 'plaid/products/asset_report'
10
11
  require_relative 'plaid/products/auth'
11
12
  require_relative 'plaid/products/categories'
12
13
  require_relative 'plaid/products/credit_details'
@@ -39,6 +39,11 @@ module Plaid
39
39
  # Public: The Plaid::Auth product accessor.
40
40
  subproduct :auth
41
41
 
42
+ ##
43
+ # :attr_reader:
44
+ # Public: The Plaid::AssetReport product accessor.
45
+ subproduct :asset_report
46
+
42
47
  ##
43
48
  # :attr_reader:
44
49
  # Public: The Plaid::Categories product accessor.
@@ -49,6 +49,37 @@ module Plaid
49
49
  property :display_message
50
50
  end
51
51
 
52
+ # Public: A representation of a cause.
53
+ class Cause < BaseModel
54
+ ##
55
+ # :attr_reader:
56
+ # Public: The item ID.
57
+ property :item_id
58
+
59
+ ##
60
+ # :attr_reader:
61
+ # Public: The underlying error.
62
+ property :error, coerce: Error
63
+ end
64
+
65
+ # Public: A representation of a warning.
66
+ class Warning < BaseModel
67
+ ##
68
+ # :attr_reader:
69
+ # Public: The type of warning.
70
+ property :warning_type
71
+
72
+ ##
73
+ # :attr_reader:
74
+ # Public: The warning code.
75
+ property :warning_code
76
+
77
+ ##
78
+ # :attr_reader:
79
+ # Public: The underlying cause.
80
+ property :cause, coerce: Cause
81
+ end
82
+
52
83
  # Public: A representation of an item.
53
84
  class Item < BaseModel
54
85
  ##
@@ -736,5 +767,325 @@ module Plaid
736
767
  # Public: The String unofficial currency code for the amount
737
768
  property :unofficial_currency_code
738
769
  end
770
+
771
+ # Public: A representation of an asset report address.
772
+ class AssetReportAddress < BaseModel
773
+ ##
774
+ # :attr_reader:
775
+ # Public: Data about the components comprising an address; see
776
+ # IdentityAddressData object for fields.
777
+ property :data, coerce: IdentityAddressData
778
+
779
+ ##
780
+ # :attr_reader:
781
+ # Public: When true, identifies the address as the primary address on an
782
+ # account.
783
+ property :primary
784
+ end
785
+
786
+ # Public: A representation of an asset report owner.
787
+ class AssetReportOwner < BaseModel
788
+ ##
789
+ # :attr_reader:
790
+ # Public: A list of names associated with the account by the financial
791
+ # institution.
792
+ property :names, coerce: Array[String]
793
+
794
+ ##
795
+ # :attr_reader:
796
+ # Public: A list of phone numbers associated with the account by the
797
+ # financial institution; see IdentityPhoneNumber number object for
798
+ # fields.
799
+ property :phone_numbers, coerce: Array[IdentityPhoneNumber]
800
+
801
+ ##
802
+ # :attr_reader:
803
+ # Public: A list of emails associated with the account by the financial
804
+ # institution; see IdentityEmail object for fields.
805
+ property :emails, coerce: Array[IdentityEmail]
806
+
807
+ ##
808
+ # :attr_reader:
809
+ # Public: Data about the various addresses associated with the account
810
+ # by the financial institution; see AssetReportAddress object for fields.
811
+ property :addresses, coerce: Array[AssetReportAddress]
812
+ end
813
+
814
+ # Public: A representation of an asset report balance.
815
+ class AssetReportBalance < BaseModel
816
+ ##
817
+ # :attr_reader:
818
+ # Public: The available balance as reported by the financial institution.
819
+ # This is usually, but not always, the current balance less any
820
+ # outstanding holds or debits that have not yet posted to the account.
821
+ property :available
822
+
823
+ ##
824
+ # :attr_reader:
825
+ # Public: The total amount of funds in the account.
826
+ property :current
827
+
828
+ ##
829
+ # :attr_reader:
830
+ # Public: The ISO currency code of the transaction, either USD or CAD.
831
+ # Always nil if unofficial_currency_code is non-nil.
832
+ property :iso_currency_code
833
+
834
+ ##
835
+ # :attr_reader:
836
+ # Public: The unofficial currency code associated with the transaction.
837
+ # Always nil if iso_currency_code is non-nil.
838
+ property :unofficial_currency_code
839
+ end
840
+
841
+ # Public: A representation of an asset report historical balance.
842
+ class AssetReportHistoricalBalance < BaseModel
843
+ ##
844
+ # :attr_reader:
845
+ # Public: The date of the calculated historical balance.
846
+ property :date
847
+
848
+ ##
849
+ # :attr_reader:
850
+ # Public: The total amount of funds in the account, calculated from the
851
+ # current balance in the balance object by subtracting inflows and adding
852
+ # back outflows according to the posted date of each.
853
+ property :current
854
+
855
+ ##
856
+ # :attr_reader:
857
+ # Public: The ISO currency code of the transaction, either USD or CAD.
858
+ # Always nil if unofficial_currency_code is non-nil.
859
+ property :iso_currency_code
860
+
861
+ ##
862
+ # :attr_reader:
863
+ # Public: The unofficial currency code associated with the transaction.
864
+ # Always nil if iso_currency_code is non-nil.
865
+ property :unofficial_currency_code
866
+ end
867
+
868
+ # Public: A representation of an asset report transaction.
869
+ class AssetReportTransaction < BaseModel
870
+ ##
871
+ # :attr_reader:
872
+ # Public: Plaid's unique identifier for the account.
873
+ property :account_id
874
+
875
+ ##
876
+ # :attr_reader:
877
+ # Public: Plaid's unique identifier for the transaction.
878
+ property :transaction_id
879
+
880
+ ##
881
+ # :attr_reader:
882
+ # Public: For pending transactions, Plaid returns the date the
883
+ # transaction occurred; for posted transactions, Plaid returns the date
884
+ # the transaction posts; both dates are returned in an ISO 8601 format
885
+ # (YYYY-MM-DD).
886
+ property :date
887
+
888
+ ##
889
+ # :attr_reader:
890
+ # Public: The string returned by the financial institution to describe
891
+ # the transaction.
892
+ property :original_description
893
+
894
+ ##
895
+ # :attr_reader:
896
+ # Public: When true, identifies the transaction as pending or unsettled;
897
+ # pending transaction details (description, amount) may change before
898
+ # they are settled.
899
+ property :pending
900
+
901
+ ##
902
+ # :attr_reader:
903
+ # Public: The settled dollar value; positive values when money moves out
904
+ # of the account, negative values when money moves in.
905
+ property :amount
906
+
907
+ ##
908
+ # :attr_reader:
909
+ # Public: The ISO currency code of the transaction, either USD or CAD.
910
+ # Always nil if unofficial_currency_code is non-nil.
911
+ property :iso_currency_code
912
+
913
+ ##
914
+ # :attr_reader:
915
+ # Public: The unofficial currency code associated with the transaction.
916
+ # Always nil if iso_currency_code is non-nil.
917
+ property :unofficial_currency_code
918
+ end
919
+
920
+ # Public: A representation of an asset report account.
921
+ class AssetReportAccount < BaseModel
922
+ ##
923
+ # :attr_reader:
924
+ # Public: Plaid's unique identifier for the account.
925
+ property :account_id
926
+
927
+ ##
928
+ # :attr_reader:
929
+ # Public: The last 2-5 digits of the account's number.
930
+ property :mask
931
+
932
+ ##
933
+ # :attr_reader:
934
+ # Public: The name of the account, either assigned by the user or by the
935
+ # financial institution itself.
936
+ property :name
937
+
938
+ ##
939
+ # :attr_reader:
940
+ # Public: The official name of the account as given by the financial
941
+ # institution.
942
+ property :official_name
943
+
944
+ ##
945
+ # :attr_reader:
946
+ # Public: The primary type of the account (e.g., "depository").
947
+ property :type
948
+
949
+ ##
950
+ # :attr_reader:
951
+ # Public: The secondary type of the account (e.g., "checking").
952
+ property :subtype
953
+
954
+ ##
955
+ # :attr_reader:
956
+ # Public: Data returned by the financial institution about the account
957
+ # owner or owners; see AssetReportOwner object for fields.
958
+ property :owners, coerce: Array[AssetReportOwner]
959
+
960
+ ##
961
+ # :attr_reader:
962
+ # Public: Data about the various balances on the account; see
963
+ # AssetReportBalance object for fields.
964
+ property :balances, coerce: AssetReportBalance
965
+
966
+ ##
967
+ # :attr_reader:
968
+ # Public: Calculated data about the historical balances on the account;
969
+ # see AssetReportHistoricalBalance object for fields.
970
+ property :historical_balances, coerce: Array[AssetReportHistoricalBalance]
971
+
972
+ ##
973
+ # :attr_reader:
974
+ # Public: Data about the transactions.
975
+ property :transactions, coerce: Array[AssetReportTransaction]
976
+
977
+ ##
978
+ # :attr_reader:
979
+ # Public: The duration of transaction history available for this Item,
980
+ # typically defined as the time since the date of the earliest
981
+ # transaction in that account.
982
+ property :days_available
983
+ end
984
+
985
+ # Public: A representation of an asset report item.
986
+ class AssetReportItem < BaseModel
987
+ ##
988
+ # :attr_reader:
989
+ # Public: Plaid's unique identifier for the Item.
990
+ property :item_id
991
+
992
+ ##
993
+ # :attr_reader:
994
+ # Public: The full financial institution name associated with the Item.
995
+ property :institution_name
996
+
997
+ ##
998
+ # :attr_reader:
999
+ # Public: The financial institution associated with the Item.
1000
+ property :institution_id
1001
+
1002
+ ##
1003
+ # :attr_reader:
1004
+ # Public: The date and time when this Item's data was retrieved from the
1005
+ # financial institution.
1006
+ property :date_last_updated
1007
+
1008
+ ##
1009
+ # :attr_reader:
1010
+ # Public: Data about each of the accounts open on the Item; see Account
1011
+ # object for fields.
1012
+ property :accounts, coerce: Array[AssetReportAccount]
1013
+ end
1014
+
1015
+ # Public: A representation of an asset report user.
1016
+ class AssetReportUser < BaseModel
1017
+ ##
1018
+ # :attr_reader:
1019
+ # Public: An identifier you determine and submit for the user.
1020
+ property :client_user_id
1021
+
1022
+ ##
1023
+ # :attr_reader:
1024
+ # Public: The user's first name.
1025
+ property :first_name
1026
+
1027
+ ##
1028
+ # :attr_reader:
1029
+ # Public: The user's middle name.
1030
+ property :middle_name
1031
+
1032
+ ##
1033
+ # :attr_reader:
1034
+ # Public: The user's last name.
1035
+ property :last_name
1036
+
1037
+ ##
1038
+ # :attr_reader:
1039
+ # Public: The user's social security number. Format:
1040
+ # "\d\d\d-\d\d-\d\d\d\d".
1041
+ property :ssn
1042
+
1043
+ ##
1044
+ # :attr_reader:
1045
+ # Public: The user's phone number Format:
1046
+ # "+{country_code}{area code and subscriber number}", e.g.
1047
+ # "+14155555555" (known as E.164 format)
1048
+ property :phone_number
1049
+
1050
+ ##
1051
+ # :attr_reader:
1052
+ # Public: The user's email address.
1053
+ property :email
1054
+ end
1055
+
1056
+ # Public: A representation of an asset report.
1057
+ class AssetReport < BaseModel
1058
+ ##
1059
+ # :attr_reader:
1060
+ # Public: Plaid's unique identifier for this asset report.
1061
+ property :asset_report_id
1062
+
1063
+ ##
1064
+ # :attr_reader:
1065
+ # Public: An identifier you determine and submit for the Asset Report.
1066
+ property :client_report_id
1067
+
1068
+ ##
1069
+ # :attr_reader:
1070
+ # Public: The date and time when the Asset Report was created.
1071
+ property :date_generated
1072
+
1073
+ ##
1074
+ # :attr_reader:
1075
+ # Public: The duration of transaction history you requested.
1076
+ property :days_requested
1077
+
1078
+ ##
1079
+ # :attr_reader:
1080
+ # Public: Data submitted by you about the user whose Asset Report is
1081
+ # being compiled; see AssetReportUser object for fields.
1082
+ property :user, coerce: AssetReportUser
1083
+
1084
+ ##
1085
+ # :attr_reader:
1086
+ # Public: Data returned by Plaid about each of the Items included in the
1087
+ # Asset Report; see AssetReportItem object for fields.
1088
+ property :items, coerce: Array[AssetReportItem]
1089
+ end
739
1090
  end
740
1091
  end
@@ -0,0 +1,133 @@
1
+ module Plaid
2
+ # Public: Class used to call the Assets product. Documentation available at
3
+ # https://plaid.com/docs/api/#assets.
4
+ class AssetReport < BaseProduct
5
+ # Public: Create an asset report.
6
+ #
7
+ # access_tokens - An array of access tokens, one token for each Item to be
8
+ # included in the Asset Report.
9
+ # days_requested - Days of transaction history requested to be included in
10
+ # the Asset Report. Plaid will return as much data as
11
+ # possible within the implied date range, up to a maximum
12
+ # of 730 days (2 years) of history.
13
+ # options - An optional object containing client-provided user
14
+ # information, a client-provided report ID, and a webhook.
15
+ # For more information, see the website listed above.
16
+ #
17
+ # Returns a AssetReportCreateResponse object.
18
+ def create(access_tokens, days_requested, options)
19
+ post_with_auth 'asset_report/create',
20
+ AssetReportCreateResponse,
21
+ access_tokens: access_tokens,
22
+ days_requested: days_requested,
23
+ options: options
24
+ end
25
+
26
+ # Public: Retrieve an asset report.
27
+ #
28
+ # asset_report_token - The asset report token from the `create` response.
29
+ #
30
+ # Returns a AssetReportGetResponse object.
31
+ def get(asset_report_token)
32
+ post_with_auth 'asset_report/get',
33
+ AssetReportGetResponse,
34
+ asset_report_token: asset_report_token
35
+ end
36
+
37
+ # Public: Retrieve an asset report as a PDF.
38
+ #
39
+ # asset_report_token - The asset report token from the `create` response.
40
+ #
41
+ # Returns the PDF.
42
+ def get_pdf(asset_report_token)
43
+ client.post_with_auth 'asset_report/pdf/get',
44
+ asset_report_token: asset_report_token
45
+ end
46
+
47
+ # Public: Remove an asset report.
48
+ #
49
+ # asset_report_token - The asset report token from the `create` response.
50
+ #
51
+ # Returns a AssetReportRemoveResponse object.
52
+ def remove(asset_report_token)
53
+ post_with_auth 'asset_report/remove',
54
+ AssetReportRemoveResponse,
55
+ asset_report_token: asset_report_token
56
+ end
57
+
58
+ # Public: Create an audit copy token.
59
+ #
60
+ # asset_report_token - The asset report token from the `create` response.
61
+ # auditor_id - The ID of the third party with which you would like
62
+ # to share the asset report.
63
+ #
64
+ # Returns a AuditCopyCreateResponse object.
65
+ def create_audit_copy(asset_report_token, auditor_id)
66
+ post_with_auth 'asset_report/audit_copy/create',
67
+ AuditCopyCreateResponse,
68
+ asset_report_token: asset_report_token,
69
+ auditor_id: auditor_id
70
+ end
71
+
72
+ # Public: Remove an audit copy token.
73
+ #
74
+ # audit_copy_token - The audit copy token from the `create` response.
75
+ #
76
+ # Returns a AuditCopyRemoveResponse object.
77
+ def remove_audit_copy(audit_copy_token)
78
+ post_with_auth 'asset_report/audit_copy/remove',
79
+ AuditCopyRemoveResponse,
80
+ audit_copy_token: audit_copy_token
81
+ end
82
+ end
83
+
84
+ # Public: The response wrapper for /asset_report/create.
85
+ class AssetReportCreateResponse < Models::BaseResponse
86
+ ##
87
+ # :attr_reader:
88
+ # Public: The asset report token.
89
+ property :asset_report_token
90
+
91
+ ##
92
+ # :attr_reader:
93
+ # Public: The asset report ID.
94
+ property :asset_report_id
95
+ end
96
+
97
+ # Public: The response wrapper for /asset_report/get.
98
+ class AssetReportGetResponse < Models::BaseResponse
99
+ ##
100
+ # :attr_reader:
101
+ # Public: The asset report token.
102
+ property :report, coerce: Models::AssetReport
103
+
104
+ ##
105
+ # :attr_reader:
106
+ # Public: Warnings encountered during asset report generation.
107
+ property :warnings, coerce: Array[Models::Warning]
108
+ end
109
+
110
+ # Public: The response wrapper for /asset_report/remove.
111
+ class AssetReportRemoveResponse < Models::BaseResponse
112
+ ##
113
+ # :attr_reader:
114
+ # Public: A boolean indicating whether the report was removed.
115
+ property :removed
116
+ end
117
+
118
+ # Public: The response wrapper for /audit_copy/create.
119
+ class AuditCopyCreateResponse < Models::BaseResponse
120
+ ##
121
+ # :attr_reader:
122
+ # Public: The audit copy token.
123
+ property :audit_copy_token
124
+ end
125
+
126
+ # Public: The response wrapper for /audit_copy/remove.
127
+ class AuditCopyRemoveResponse < Models::BaseResponse
128
+ ##
129
+ # :attr_reader:
130
+ # Public: A boolean indicating whether the audit copy was removed.
131
+ property :removed
132
+ end
133
+ end
@@ -23,11 +23,60 @@ module Plaid
23
23
  end
24
24
  end
25
25
 
26
+ # Public: Class used to call the SandboxPublicToken sub-product
27
+ class SandboxPublicToken < BaseProduct
28
+ # Public: Creates a public token for sandbox testing.
29
+ #
30
+ # Does a POST /sandbox/public_token/create call which can be used
31
+ # to generate a public_token given an institution and list of
32
+ # products.
33
+ #
34
+ # institution_id - Specific institution id to generate token for.
35
+ # initial_products - Products for which generated token is valid for.
36
+ # webhook - webhook to associate with the item (optional).
37
+ # options - Additional options to merge into API request.
38
+ #
39
+ # Returns a SandboxCreateResponse object with a public token and item id.
40
+ def create(institution_id:,
41
+ initial_products:,
42
+ webhook: nil,
43
+ options: nil)
44
+
45
+ options_payload = {}
46
+ options_payload[:webhook] = webhook unless webhook.nil?
47
+ options_payload = options_payload.merge(options) unless options.nil?
48
+
49
+ post_with_public_key 'sandbox/public_token/create',
50
+ SandboxCreateResponse,
51
+ institution_id: institution_id,
52
+ initial_products: initial_products,
53
+ options: options_payload
54
+ end
55
+
56
+ # Public: Response for /sandbox/public_token/create.
57
+ class SandboxCreateResponse < Models::BaseResponse
58
+ ##
59
+ # :attr_reader:
60
+ # Public: The String token.
61
+ property :public_token
62
+
63
+ ##
64
+ # :attr_reader:
65
+ # Public: The String item ID.
66
+ property :item_id
67
+ end
68
+ end
69
+
26
70
  # Public: Class used to call the Sandbox product.
27
71
  class Sandbox < BaseProduct
28
72
  ##
29
73
  # :attr_reader:
30
74
  # Public: The Plaid::SandboxItem product accessor.
31
75
  subproduct :sandbox_item
76
+
77
+ ##
78
+ # :attr_reader:
79
+ # Public: The Plaid::SandboxPublicToken product accessor.
80
+ subproduct :sandbox_public_token
32
81
  end
33
82
  end
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '6.0.0'.freeze
2
+ VERSION = '6.1.0'.freeze
3
3
  API_VERSION = '2018-05-22'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaid
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Loo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-22 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -192,6 +192,7 @@ files:
192
192
  - lib/plaid/middleware.rb
193
193
  - lib/plaid/models.rb
194
194
  - lib/plaid/products/accounts.rb
195
+ - lib/plaid/products/asset_report.rb
195
196
  - lib/plaid/products/auth.rb
196
197
  - lib/plaid/products/base_product.rb
197
198
  - lib/plaid/products/categories.rb