plaid 8.2.0 → 8.3.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/plaid/products/processor.rb +33 -0
- data/lib/plaid/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20fabd5a473d42ddb2e3ae9cf23177a368b27a3a
|
4
|
+
data.tar.gz: 19b8c738694ef6da9635b2f422674a8ced3cfe62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe4fc9ee3f44a9b1318daa4a423aec82347bc09834211b2e85c2d413fdb54a976cfc2e80fd30f461bccc19a96c79edbf7487c2330796d6e7bc3bd08ce5890a5f
|
7
|
+
data.tar.gz: 6569336d7dcfea2f168ecd081a8c0a3fba27518d1006d5f23065ab68b0f68bbacc4b35e5257fc6f92cd71ba056a547295b6837c0644d0ac6df01d0d4207d6b2c
|
data/CHANGELOG.md
CHANGED
@@ -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
|
data/lib/plaid/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2019-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|