adyen-ruby-api-library 9.6.0 → 9.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/VERSION +1 -1
- data/lib/adyen/client.rb +8 -3
- data/lib/adyen/services/checkout/donations_api.rb +9 -0
- data/lib/adyen/version.rb +1 -1
- metadata +2 -16
- data/docs/checkout.html +0 -128
- data/docs/index.html +0 -50
- data/docs/install-library.html +0 -61
- data/docs/javascripts/prism.js +0 -5
- data/docs/javascripts/scale.fix.js +0 -17
- data/docs/marketpay.html +0 -171
- data/docs/params.json +0 -1
- data/docs/payment.html +0 -106
- data/docs/payout.html +0 -135
- data/docs/recurring.html +0 -113
- data/docs/stylesheets/github-light.css +0 -115
- data/docs/stylesheets/prism.css +0 -140
- data/docs/stylesheets/styles.css +0 -324
- data/docs/using-library.html +0 -67
data/docs/stylesheets/styles.css
DELETED
@@ -1,324 +0,0 @@
|
|
1
|
-
@font-face {
|
2
|
-
font-family: 'Noto Sans';
|
3
|
-
font-weight: 400;
|
4
|
-
font-style: normal;
|
5
|
-
src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot');
|
6
|
-
src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix') format('embedded-opentype'),
|
7
|
-
local('Noto Sans'),
|
8
|
-
local('Noto-Sans-regular'),
|
9
|
-
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2') format('woff2'),
|
10
|
-
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff') format('woff'),
|
11
|
-
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf') format('truetype'),
|
12
|
-
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans') format('svg');
|
13
|
-
}
|
14
|
-
|
15
|
-
@font-face {
|
16
|
-
font-family: 'Noto Sans';
|
17
|
-
font-weight: 700;
|
18
|
-
font-style: normal;
|
19
|
-
src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot');
|
20
|
-
src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix') format('embedded-opentype'),
|
21
|
-
local('Noto Sans Bold'),
|
22
|
-
local('Noto-Sans-700'),
|
23
|
-
url('../fonts/Noto-Sans-700/Noto-Sans-700.woff2') format('woff2'),
|
24
|
-
url('../fonts/Noto-Sans-700/Noto-Sans-700.woff') format('woff'),
|
25
|
-
url('../fonts/Noto-Sans-700/Noto-Sans-700.ttf') format('truetype'),
|
26
|
-
url('../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans') format('svg');
|
27
|
-
}
|
28
|
-
|
29
|
-
@font-face {
|
30
|
-
font-family: 'Noto Sans';
|
31
|
-
font-weight: 400;
|
32
|
-
font-style: italic;
|
33
|
-
src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot');
|
34
|
-
src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix') format('embedded-opentype'),
|
35
|
-
local('Noto Sans Italic'),
|
36
|
-
local('Noto-Sans-italic'),
|
37
|
-
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2') format('woff2'),
|
38
|
-
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff') format('woff'),
|
39
|
-
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf') format('truetype'),
|
40
|
-
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans') format('svg');
|
41
|
-
}
|
42
|
-
|
43
|
-
@font-face {
|
44
|
-
font-family: 'Noto Sans';
|
45
|
-
font-weight: 700;
|
46
|
-
font-style: italic;
|
47
|
-
src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot');
|
48
|
-
src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix') format('embedded-opentype'),
|
49
|
-
local('Noto Sans Bold Italic'),
|
50
|
-
local('Noto-Sans-700italic'),
|
51
|
-
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2') format('woff2'),
|
52
|
-
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff') format('woff'),
|
53
|
-
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf') format('truetype'),
|
54
|
-
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans') format('svg');
|
55
|
-
}
|
56
|
-
|
57
|
-
body {
|
58
|
-
background-color: #fff;
|
59
|
-
padding:50px;
|
60
|
-
font: 14px/1.5 "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
61
|
-
color:#727272;
|
62
|
-
font-weight:400;
|
63
|
-
}
|
64
|
-
|
65
|
-
h1, h2, h3, h4, h5, h6 {
|
66
|
-
color:#222;
|
67
|
-
margin:0 0 20px;
|
68
|
-
}
|
69
|
-
|
70
|
-
p, ul, ol, table, pre, dl {
|
71
|
-
margin:0 0 20px;
|
72
|
-
}
|
73
|
-
|
74
|
-
h1, h2, h3 {
|
75
|
-
line-height:1.1;
|
76
|
-
}
|
77
|
-
|
78
|
-
h1 {
|
79
|
-
font-size:28px;
|
80
|
-
}
|
81
|
-
|
82
|
-
h2 {
|
83
|
-
color:#393939;
|
84
|
-
}
|
85
|
-
|
86
|
-
h3, h4, h5, h6 {
|
87
|
-
color:#494949;
|
88
|
-
}
|
89
|
-
|
90
|
-
a {
|
91
|
-
color:#39c;
|
92
|
-
text-decoration:none;
|
93
|
-
}
|
94
|
-
|
95
|
-
a:hover {
|
96
|
-
color:#069;
|
97
|
-
}
|
98
|
-
|
99
|
-
a small {
|
100
|
-
font-size:11px;
|
101
|
-
color:#777;
|
102
|
-
margin-top:-0.3em;
|
103
|
-
display:block;
|
104
|
-
}
|
105
|
-
|
106
|
-
a:hover small {
|
107
|
-
color:#777;
|
108
|
-
}
|
109
|
-
|
110
|
-
.wrapper {
|
111
|
-
width:860px;
|
112
|
-
margin:0 auto;
|
113
|
-
}
|
114
|
-
|
115
|
-
blockquote {
|
116
|
-
border-left:1px solid #e5e5e5;
|
117
|
-
margin:0;
|
118
|
-
padding:0 0 0 20px;
|
119
|
-
font-style:italic;
|
120
|
-
}
|
121
|
-
|
122
|
-
code, pre {
|
123
|
-
font-family:Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal, Consolas, Liberation Mono, DejaVu Sans Mono, Courier New, monospace;
|
124
|
-
color:#333;
|
125
|
-
font-size:12px;
|
126
|
-
}
|
127
|
-
|
128
|
-
pre {
|
129
|
-
padding:8px 15px;
|
130
|
-
background: #f8f8f8;
|
131
|
-
border-radius:5px;
|
132
|
-
border:1px solid #e5e5e5;
|
133
|
-
overflow-x: auto;
|
134
|
-
}
|
135
|
-
|
136
|
-
table {
|
137
|
-
width:100%;
|
138
|
-
border-collapse:collapse;
|
139
|
-
}
|
140
|
-
|
141
|
-
th, td {
|
142
|
-
text-align:left;
|
143
|
-
padding:5px 10px;
|
144
|
-
border-bottom:1px solid #e5e5e5;
|
145
|
-
}
|
146
|
-
|
147
|
-
dt {
|
148
|
-
color:#444;
|
149
|
-
font-weight:700;
|
150
|
-
}
|
151
|
-
|
152
|
-
th {
|
153
|
-
color:#444;
|
154
|
-
}
|
155
|
-
|
156
|
-
img {
|
157
|
-
max-width:100%;
|
158
|
-
}
|
159
|
-
|
160
|
-
header {
|
161
|
-
width:270px;
|
162
|
-
float:left;
|
163
|
-
position:fixed;
|
164
|
-
-webkit-font-smoothing:subpixel-antialiased;
|
165
|
-
}
|
166
|
-
|
167
|
-
header ul {
|
168
|
-
list-style:none;
|
169
|
-
height:40px;
|
170
|
-
padding:0;
|
171
|
-
background: #f4f4f4;
|
172
|
-
border-radius:5px;
|
173
|
-
border:1px solid #e0e0e0;
|
174
|
-
width:270px;
|
175
|
-
}
|
176
|
-
|
177
|
-
header li {
|
178
|
-
width:89px;
|
179
|
-
float:left;
|
180
|
-
border-right:1px solid #e0e0e0;
|
181
|
-
height:40px;
|
182
|
-
}
|
183
|
-
|
184
|
-
header li:first-child a {
|
185
|
-
border-radius:5px 0 0 5px;
|
186
|
-
}
|
187
|
-
|
188
|
-
header li:last-child a {
|
189
|
-
border-radius:0 5px 5px 0;
|
190
|
-
}
|
191
|
-
|
192
|
-
header ul a {
|
193
|
-
line-height:1;
|
194
|
-
font-size:11px;
|
195
|
-
color:#999;
|
196
|
-
display:block;
|
197
|
-
text-align:center;
|
198
|
-
padding-top:6px;
|
199
|
-
height:34px;
|
200
|
-
}
|
201
|
-
|
202
|
-
header ul a:hover {
|
203
|
-
color:#999;
|
204
|
-
}
|
205
|
-
|
206
|
-
header ul a:active {
|
207
|
-
background-color:#f0f0f0;
|
208
|
-
}
|
209
|
-
|
210
|
-
strong {
|
211
|
-
color:#222;
|
212
|
-
font-weight:700;
|
213
|
-
}
|
214
|
-
|
215
|
-
header ul li + li + li {
|
216
|
-
border-right:none;
|
217
|
-
width:89px;
|
218
|
-
}
|
219
|
-
|
220
|
-
header ul a strong {
|
221
|
-
font-size:14px;
|
222
|
-
display:block;
|
223
|
-
color:#222;
|
224
|
-
}
|
225
|
-
|
226
|
-
section {
|
227
|
-
width:500px;
|
228
|
-
float:right;
|
229
|
-
padding-bottom:50px;
|
230
|
-
}
|
231
|
-
|
232
|
-
small {
|
233
|
-
font-size:11px;
|
234
|
-
}
|
235
|
-
|
236
|
-
hr {
|
237
|
-
border:0;
|
238
|
-
background:#e5e5e5;
|
239
|
-
height:1px;
|
240
|
-
margin:0 0 20px;
|
241
|
-
}
|
242
|
-
|
243
|
-
footer {
|
244
|
-
width:270px;
|
245
|
-
float:left;
|
246
|
-
position:fixed;
|
247
|
-
bottom:50px;
|
248
|
-
-webkit-font-smoothing:subpixel-antialiased;
|
249
|
-
}
|
250
|
-
|
251
|
-
@media print, screen and (max-width: 960px) {
|
252
|
-
|
253
|
-
div.wrapper {
|
254
|
-
width:auto;
|
255
|
-
margin:0;
|
256
|
-
}
|
257
|
-
|
258
|
-
header, section, footer {
|
259
|
-
float:none;
|
260
|
-
position:static;
|
261
|
-
width:auto;
|
262
|
-
}
|
263
|
-
|
264
|
-
header {
|
265
|
-
padding-right:320px;
|
266
|
-
}
|
267
|
-
|
268
|
-
section {
|
269
|
-
border:1px solid #e5e5e5;
|
270
|
-
border-width:1px 0;
|
271
|
-
padding:20px 0;
|
272
|
-
margin:0 0 20px;
|
273
|
-
}
|
274
|
-
|
275
|
-
header a small {
|
276
|
-
display:inline;
|
277
|
-
}
|
278
|
-
|
279
|
-
header ul {
|
280
|
-
position:absolute;
|
281
|
-
right:50px;
|
282
|
-
top:52px;
|
283
|
-
}
|
284
|
-
}
|
285
|
-
|
286
|
-
@media print, screen and (max-width: 720px) {
|
287
|
-
body {
|
288
|
-
word-wrap:break-word;
|
289
|
-
}
|
290
|
-
|
291
|
-
header {
|
292
|
-
padding:0;
|
293
|
-
}
|
294
|
-
|
295
|
-
header ul, header p.view {
|
296
|
-
position:static;
|
297
|
-
}
|
298
|
-
|
299
|
-
pre, code {
|
300
|
-
word-wrap:normal;
|
301
|
-
}
|
302
|
-
}
|
303
|
-
|
304
|
-
@media print, screen and (max-width: 480px) {
|
305
|
-
body {
|
306
|
-
padding:15px;
|
307
|
-
}
|
308
|
-
|
309
|
-
header ul {
|
310
|
-
width:99%;
|
311
|
-
}
|
312
|
-
|
313
|
-
header li, header ul li + li + li {
|
314
|
-
width:33%;
|
315
|
-
}
|
316
|
-
}
|
317
|
-
|
318
|
-
@media print {
|
319
|
-
body {
|
320
|
-
padding:0.4in;
|
321
|
-
font-size:12pt;
|
322
|
-
color:#444;
|
323
|
-
}
|
324
|
-
}
|
data/docs/using-library.html
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8">
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="chrome=1">
|
6
|
-
<title>Adyen-ruby-api-library by Adyen</title>
|
7
|
-
|
8
|
-
<link rel="stylesheet" href="stylesheets/styles.css">
|
9
|
-
<link rel="stylesheet" href="stylesheets/github-light.css">
|
10
|
-
<meta name="viewport" content="width=device-width">
|
11
|
-
|
12
|
-
<link rel="stylesheet" href="stylesheets/prism.css">
|
13
|
-
<script src="javascripts/prism.js"></script>
|
14
|
-
<!--[if lt IE 9]>
|
15
|
-
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
16
|
-
<![endif]-->
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<div class="wrapper">
|
20
|
-
<header>
|
21
|
-
<h1>Adyen-ruby-api-library</h1>
|
22
|
-
<p>Adyen API Library for Ruby</p>
|
23
|
-
|
24
|
-
<p class="view"><a href="https://github.com/Adyen/adyen-ruby-api-library">View the Project on GitHub <small>Adyen/adyen-ruby-api-library</small></a></p>
|
25
|
-
|
26
|
-
|
27
|
-
<ul>
|
28
|
-
<li><a href="https://github.com/Adyen/adyen-ruby-api-library/zipball/main">Download <strong>ZIP File</strong></a></li>
|
29
|
-
<li><a href="https://github.com/Adyen/adyen-ruby-api-library/tarball/main">Download <strong>TAR Ball</strong></a></li>
|
30
|
-
<li><a href="https://github.com/Adyen/adyen-ruby-api-library">View On <strong>GitHub</strong></a></li>
|
31
|
-
</ul>
|
32
|
-
</header>
|
33
|
-
<section>
|
34
|
-
<h2>Using the library</h2>
|
35
|
-
<p>
|
36
|
-
Set up a client and set the credentials to the Adyen platform.
|
37
|
-
</p>
|
38
|
-
|
39
|
-
<pre><code class="ruby language-ruby">require 'adyen'
|
40
|
-
|
41
|
-
adyen = Adyen::Client.new</code></pre>
|
42
|
-
|
43
|
-
<p>
|
44
|
-
The example connects you to the Adyen test platform. If you want to use our live platform use:
|
45
|
-
<pre><code class="ruby">adyen.env = :live</code></pre>
|
46
|
-
</p>
|
47
|
-
|
48
|
-
<p>You can now use the following services:
|
49
|
-
<ul>
|
50
|
-
<li><a title="Checkout" href="checkout.html">Checkout</a></li>
|
51
|
-
<li><a title="Payment" href="payment.html">Payments</a></li>
|
52
|
-
<li><a title="Recurring" href="recurring.html">Recurring</a></li>
|
53
|
-
<li><a title="Payout" href="payout.html">Payouts</a></li>
|
54
|
-
<li><a title="Marketpay" href="marketpay.html">Marketpay</a></li>
|
55
|
-
</ul>
|
56
|
-
</p>
|
57
|
-
|
58
|
-
</section>
|
59
|
-
<footer>
|
60
|
-
<p>This project is maintained by <a href="https://github.com/Adyen">Adyen</a></p>
|
61
|
-
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
|
62
|
-
</footer>
|
63
|
-
</div>
|
64
|
-
<script src="javascripts/scale.fix.js"></script>
|
65
|
-
|
66
|
-
</body>
|
67
|
-
</html>
|