plaid 8.2.0 → 8.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 406f122e676e032e00658c9821fd17051b8f7f6f
4
- data.tar.gz: 3c85a6654f38fbfbc50a1feb24c678b62688aff6
3
+ metadata.gz: 20fabd5a473d42ddb2e3ae9cf23177a368b27a3a
4
+ data.tar.gz: 19b8c738694ef6da9635b2f422674a8ced3cfe62
5
5
  SHA512:
6
- metadata.gz: 55ff710729ae2721421f8ffdea6775af5f2d187a5ac61ce49d298e0d054a722e5469dda11af78f33259d78abbacf933f8a1e348e06ca116cd2cfcf45f55b3816
7
- data.tar.gz: 3be25d5c57083ebfcd75508cca59f678a5ae6f4a661034d1f53dcaa9e82cae0e046ae6856cec1dfe19d02690a14235b1d823506acd94bf174372922140118076
6
+ metadata.gz: fe4fc9ee3f44a9b1318daa4a423aec82347bc09834211b2e85c2d413fdb54a976cfc2e80fd30f461bccc19a96c79edbf7487c2330796d6e7bc3bd08ce5890a5f
7
+ data.tar.gz: 6569336d7dcfea2f168ecd081a8c0a3fba27518d1006d5f23065ab68b0f68bbacc4b35e5257fc6f92cd71ba056a547295b6837c0644d0ac6df01d0d4207d6b2c
@@ -1,3 +1,7 @@
1
+ # 8.3.0 17-Sep-2019
2
+
3
+ * Add support for new [Ocrolus Partnership](https://plaid.com/docs/ocrolus/)
4
+
1
5
  # 8.2.0 16-Sep-2019
2
6
 
3
7
  * Update Assets schema for international address support
@@ -98,6 +98,34 @@ module Plaid
98
98
  subproduct :processor_token, ProcessorToken
99
99
  end
100
100
 
101
+ # Public: Class used to call the Ocrolus sub-product.
102
+ class Ocrolus < BaseProduct
103
+ # Public: Class used to call the ocrolus.processor_token subproduct
104
+ class ProcessorToken < BaseProduct
105
+ # Public: Creates a Ocrolus processor token from an access_token.
106
+ #
107
+ # Does a POST /processor/ocrolus/processor_token/create call which can be
108
+ # used to generate a Ocrolus processor token for a given account ID.
109
+ #
110
+ # access_token - access_token to create a public token for.
111
+ # account_id - ID of the account to create a processor token for.
112
+ #
113
+ # Returns a ProcessorTokenResponse object containing a Ocrolus processor
114
+ # token.
115
+ def create(access_token, account_id)
116
+ post_with_auth 'processor/ocrolus/processor_token/create',
117
+ ProcessorTokenResponse,
118
+ access_token: access_token,
119
+ account_id: account_id
120
+ end
121
+ end
122
+
123
+ ##
124
+ # :attr_reader:
125
+ # Public: The Plaid::Ocrolus::ProcessorToken product accessor.
126
+ subproduct :processor_token, ProcessorToken
127
+ end
128
+
101
129
  # Public: Class used to call the Processor product.
102
130
  class Processor < BaseProduct
103
131
  ##
@@ -114,5 +142,10 @@ module Plaid
114
142
  # :attr_reader:
115
143
  # Public: The Plaid::Apex product accessor.
116
144
  subproduct :apex
145
+
146
+ ##
147
+ # :attr_reader:
148
+ # Public: The Plaid::Ocrolus product accessor.
149
+ subproduct :ocrolus
117
150
  end
118
151
  end
@@ -1,4 +1,4 @@
1
1
  module Plaid
2
- VERSION = '8.2.0'.freeze
2
+ VERSION = '8.3.0'.freeze
3
3
  API_VERSION = '2019-05-29'.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: 8.2.0
4
+ version: 8.3.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: 2019-09-16 00:00:00.000000000 Z
11
+ date: 2019-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday