openpay_copemx 3.0.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 +7 -0
- data/.gitignore +19 -0
- data/.travis.yml +6 -0
- data/Gemfile +10 -0
- data/LICENSE.txt +13 -0
- data/README.md +1984 -0
- data/Rakefile +16 -0
- data/lib/openpay/bankaccounts.rb +58 -0
- data/lib/openpay/cards.rb +73 -0
- data/lib/openpay/charges.rb +101 -0
- data/lib/openpay/colombia/cards_co.rb +73 -0
- data/lib/openpay/colombia/charges_co.rb +76 -0
- data/lib/openpay/colombia/customers_co.rb +166 -0
- data/lib/openpay/colombia/plans_co.rb +17 -0
- data/lib/openpay/colombia/pse_co.rb +17 -0
- data/lib/openpay/colombia/subscriptions_co.rb +50 -0
- data/lib/openpay/colombia/tokens_co.rb +5 -0
- data/lib/openpay/colombia/webhooks_co.rb +5 -0
- data/lib/openpay/customers.rb +200 -0
- data/lib/openpay/errors/openpay_connection_exception.rb +3 -0
- data/lib/openpay/errors/openpay_exception.rb +29 -0
- data/lib/openpay/errors/openpay_exception_factory.rb +56 -0
- data/lib/openpay/errors/openpay_transaction_exception.rb +5 -0
- data/lib/openpay/fees.rb +5 -0
- data/lib/openpay/open_pay_resource.rb +295 -0
- data/lib/openpay/open_pay_resource_factory.rb +17 -0
- data/lib/openpay/openpay_api.rb +72 -0
- data/lib/openpay/payouts.rb +55 -0
- data/lib/openpay/peru/cards_pe.rb +73 -0
- data/lib/openpay/peru/charges_pe.rb +76 -0
- data/lib/openpay/peru/checkouts_pe.rb +51 -0
- data/lib/openpay/peru/customers_pe.rb +79 -0
- data/lib/openpay/peru/tokens_pe.rb +5 -0
- data/lib/openpay/peru/webhooks_pe.rb +5 -0
- data/lib/openpay/plans.rb +17 -0
- data/lib/openpay/points.rb +10 -0
- data/lib/openpay/subscriptions.rb +50 -0
- data/lib/openpay/tokens.rb +7 -0
- data/lib/openpay/transfers.rb +39 -0
- data/lib/openpay/utils/country.rb +3 -0
- data/lib/openpay/utils/search_params.rb +24 -0
- data/lib/openpay/webhooks.rb +9 -0
- data/lib/openpay.rb +55 -0
- data/lib/version.rb +3 -0
- data/openpay.gemspec +30 -0
- data/test/Factories.rb +524 -0
- data/test/spec/bankaccounts_spec.rb +52 -0
- data/test/spec/cards_spec.rb +437 -0
- data/test/spec/charges_spec.rb +382 -0
- data/test/spec/colombia/cards_col_spec.rb +364 -0
- data/test/spec/colombia/charges_col_spec.rb +258 -0
- data/test/spec/colombia/customers_co_spec.rb +151 -0
- data/test/spec/colombia/plans_col_spec.rb +133 -0
- data/test/spec/colombia/pse_col_spec.rb +49 -0
- data/test/spec/colombia/subscriptions_col_spec.rb +230 -0
- data/test/spec/colombia/tokens_col_spec.rb +38 -0
- data/test/spec/customers_spec.rb +172 -0
- data/test/spec/exceptions_spec.rb +105 -0
- data/test/spec/fees_spec.rb +166 -0
- data/test/spec/openpayresource_spec.rb +54 -0
- data/test/spec/payouts_spec.rb +231 -0
- data/test/spec/peru/cards_pe_spec.rb +363 -0
- data/test/spec/peru/charges_pe_spec.rb +218 -0
- data/test/spec/peru/checkouts_pe_spec.rb +71 -0
- data/test/spec/peru/customers_pe_spec.rb +151 -0
- data/test/spec/peru/tokens_pe_spec.rb +38 -0
- data/test/spec/peru/webhook_pe_spec.rb +50 -0
- data/test/spec/plans_spec.rb +158 -0
- data/test/spec/points_spec.rb +26 -0
- data/test/spec/requesttimeout_spec.rb +22 -0
- data/test/spec/subscriptions_spec.rb +294 -0
- data/test/spec/transfers_spec.rb +219 -0
- data/test/spec/utils/search_params_spec.rb +36 -0
- data/test/spec_helper.rb +24 -0
- metadata +219 -0
metadata
ADDED
@@ -0,0 +1,219 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: openpay_copemx
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Openpay
|
8
|
+
- ronnie_bermejo
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2022-10-21 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rest-client
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '2.0'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '2.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: json
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.8'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.8'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: bundler
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.3'
|
49
|
+
type: :development
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.3'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: rake
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
type: :development
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - ">="
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: json_spec
|
72
|
+
requirement: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
description: ruby client for Openpay API services (version 2.0.1)
|
85
|
+
email:
|
86
|
+
- hola@openpay.mx
|
87
|
+
executables: []
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".travis.yml"
|
93
|
+
- Gemfile
|
94
|
+
- LICENSE.txt
|
95
|
+
- README.md
|
96
|
+
- Rakefile
|
97
|
+
- lib/openpay.rb
|
98
|
+
- lib/openpay/bankaccounts.rb
|
99
|
+
- lib/openpay/cards.rb
|
100
|
+
- lib/openpay/charges.rb
|
101
|
+
- lib/openpay/colombia/cards_co.rb
|
102
|
+
- lib/openpay/colombia/charges_co.rb
|
103
|
+
- lib/openpay/colombia/customers_co.rb
|
104
|
+
- lib/openpay/colombia/plans_co.rb
|
105
|
+
- lib/openpay/colombia/pse_co.rb
|
106
|
+
- lib/openpay/colombia/subscriptions_co.rb
|
107
|
+
- lib/openpay/colombia/tokens_co.rb
|
108
|
+
- lib/openpay/colombia/webhooks_co.rb
|
109
|
+
- lib/openpay/customers.rb
|
110
|
+
- lib/openpay/errors/openpay_connection_exception.rb
|
111
|
+
- lib/openpay/errors/openpay_exception.rb
|
112
|
+
- lib/openpay/errors/openpay_exception_factory.rb
|
113
|
+
- lib/openpay/errors/openpay_transaction_exception.rb
|
114
|
+
- lib/openpay/fees.rb
|
115
|
+
- lib/openpay/open_pay_resource.rb
|
116
|
+
- lib/openpay/open_pay_resource_factory.rb
|
117
|
+
- lib/openpay/openpay_api.rb
|
118
|
+
- lib/openpay/payouts.rb
|
119
|
+
- lib/openpay/peru/cards_pe.rb
|
120
|
+
- lib/openpay/peru/charges_pe.rb
|
121
|
+
- lib/openpay/peru/checkouts_pe.rb
|
122
|
+
- lib/openpay/peru/customers_pe.rb
|
123
|
+
- lib/openpay/peru/tokens_pe.rb
|
124
|
+
- lib/openpay/peru/webhooks_pe.rb
|
125
|
+
- lib/openpay/plans.rb
|
126
|
+
- lib/openpay/points.rb
|
127
|
+
- lib/openpay/subscriptions.rb
|
128
|
+
- lib/openpay/tokens.rb
|
129
|
+
- lib/openpay/transfers.rb
|
130
|
+
- lib/openpay/utils/country.rb
|
131
|
+
- lib/openpay/utils/search_params.rb
|
132
|
+
- lib/openpay/webhooks.rb
|
133
|
+
- lib/version.rb
|
134
|
+
- openpay.gemspec
|
135
|
+
- test/Factories.rb
|
136
|
+
- test/spec/bankaccounts_spec.rb
|
137
|
+
- test/spec/cards_spec.rb
|
138
|
+
- test/spec/charges_spec.rb
|
139
|
+
- test/spec/colombia/cards_col_spec.rb
|
140
|
+
- test/spec/colombia/charges_col_spec.rb
|
141
|
+
- test/spec/colombia/customers_co_spec.rb
|
142
|
+
- test/spec/colombia/plans_col_spec.rb
|
143
|
+
- test/spec/colombia/pse_col_spec.rb
|
144
|
+
- test/spec/colombia/subscriptions_col_spec.rb
|
145
|
+
- test/spec/colombia/tokens_col_spec.rb
|
146
|
+
- test/spec/customers_spec.rb
|
147
|
+
- test/spec/exceptions_spec.rb
|
148
|
+
- test/spec/fees_spec.rb
|
149
|
+
- test/spec/openpayresource_spec.rb
|
150
|
+
- test/spec/payouts_spec.rb
|
151
|
+
- test/spec/peru/cards_pe_spec.rb
|
152
|
+
- test/spec/peru/charges_pe_spec.rb
|
153
|
+
- test/spec/peru/checkouts_pe_spec.rb
|
154
|
+
- test/spec/peru/customers_pe_spec.rb
|
155
|
+
- test/spec/peru/tokens_pe_spec.rb
|
156
|
+
- test/spec/peru/webhook_pe_spec.rb
|
157
|
+
- test/spec/plans_spec.rb
|
158
|
+
- test/spec/points_spec.rb
|
159
|
+
- test/spec/requesttimeout_spec.rb
|
160
|
+
- test/spec/subscriptions_spec.rb
|
161
|
+
- test/spec/transfers_spec.rb
|
162
|
+
- test/spec/utils/search_params_spec.rb
|
163
|
+
- test/spec_helper.rb
|
164
|
+
homepage: http://openpay.mx/
|
165
|
+
licenses:
|
166
|
+
- Apache-2.0
|
167
|
+
metadata: {}
|
168
|
+
post_install_message: Thanks for installing openpay. Enjoy !
|
169
|
+
rdoc_options: []
|
170
|
+
require_paths:
|
171
|
+
- lib
|
172
|
+
- lib/openpay
|
173
|
+
- openpay
|
174
|
+
- "."
|
175
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
requirements: []
|
186
|
+
rubygems_version: 3.0.8
|
187
|
+
signing_key:
|
188
|
+
specification_version: 4
|
189
|
+
summary: ruby api for openpay resources
|
190
|
+
test_files:
|
191
|
+
- test/Factories.rb
|
192
|
+
- test/spec/bankaccounts_spec.rb
|
193
|
+
- test/spec/cards_spec.rb
|
194
|
+
- test/spec/charges_spec.rb
|
195
|
+
- test/spec/colombia/cards_col_spec.rb
|
196
|
+
- test/spec/colombia/charges_col_spec.rb
|
197
|
+
- test/spec/colombia/customers_co_spec.rb
|
198
|
+
- test/spec/colombia/plans_col_spec.rb
|
199
|
+
- test/spec/colombia/pse_col_spec.rb
|
200
|
+
- test/spec/colombia/subscriptions_col_spec.rb
|
201
|
+
- test/spec/colombia/tokens_col_spec.rb
|
202
|
+
- test/spec/customers_spec.rb
|
203
|
+
- test/spec/exceptions_spec.rb
|
204
|
+
- test/spec/fees_spec.rb
|
205
|
+
- test/spec/openpayresource_spec.rb
|
206
|
+
- test/spec/payouts_spec.rb
|
207
|
+
- test/spec/peru/cards_pe_spec.rb
|
208
|
+
- test/spec/peru/charges_pe_spec.rb
|
209
|
+
- test/spec/peru/checkouts_pe_spec.rb
|
210
|
+
- test/spec/peru/customers_pe_spec.rb
|
211
|
+
- test/spec/peru/tokens_pe_spec.rb
|
212
|
+
- test/spec/peru/webhook_pe_spec.rb
|
213
|
+
- test/spec/plans_spec.rb
|
214
|
+
- test/spec/points_spec.rb
|
215
|
+
- test/spec/requesttimeout_spec.rb
|
216
|
+
- test/spec/subscriptions_spec.rb
|
217
|
+
- test/spec/transfers_spec.rb
|
218
|
+
- test/spec/utils/search_params_spec.rb
|
219
|
+
- test/spec_helper.rb
|