omni_kassa 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -0
- data/Gemfile.lock +41 -0
- data/README.md +73 -0
- data/Rakefile +11 -0
- data/app.rb +22 -0
- data/config.ru +6 -0
- data/doc/Gemfile.html +110 -0
- data/doc/HelloWorldTest.html +268 -0
- data/doc/OmniKassa/ConfigError.html +165 -0
- data/doc/OmniKassa/OmniKassaError.html +166 -0
- data/doc/OmniKassa/Request/RequestError.html +162 -0
- data/doc/OmniKassa/Request.html +632 -0
- data/doc/OmniKassa/Response/ResponseCodeError.html +162 -0
- data/doc/OmniKassa/Response/SealMismatchError.html +162 -0
- data/doc/OmniKassa/Response.html +581 -0
- data/doc/OmniKassa.html +357 -0
- data/doc/Rakefile.html +119 -0
- data/doc/app_rb.html +56 -0
- data/doc/created.rid +10 -0
- data/doc/index.html +116 -0
- data/doc/lib/omni_kassa/request_rb.html +52 -0
- data/doc/lib/omni_kassa/response_rb.html +52 -0
- data/doc/lib/omni_kassa_rb.html +60 -0
- data/doc/rdoc.css +706 -0
- data/doc/test/lib/omni_kassa/test_helper_rb.html +70 -0
- data/doc/test/omni_kassa_test_rb.html +54 -0
- data/doc/test_settings_rb.html +52 -0
- data/lib/omni_kassa/request.rb +69 -0
- data/lib/omni_kassa/response.rb +57 -0
- data/lib/omni_kassa.rb +42 -0
- data/omni_kassa.gemspec +21 -0
- data/test/capybara.rb +26 -0
- data/test/lib/omni_kassa/test_helper.rb +16 -0
- data/test/request_test.rb +50 -0
- data/test/response_test.rb +46 -0
- data/test_settings.rb +8 -0
- metadata +176 -0
data/doc/OmniKassa.html
ADDED
@@ -0,0 +1,357 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
+
<head>
|
6
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
7
|
+
|
8
|
+
<title>Module: OmniKassa</title>
|
9
|
+
|
10
|
+
<link rel="stylesheet" href="./rdoc.css" type="text/css" media="screen" />
|
11
|
+
|
12
|
+
<script src="./js/jquery.js" type="text/javascript"
|
13
|
+
charset="utf-8"></script>
|
14
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
15
|
+
charset="utf-8"></script>
|
16
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
17
|
+
charset="utf-8"></script>
|
18
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
19
|
+
charset="utf-8"></script>
|
20
|
+
|
21
|
+
</head>
|
22
|
+
<body class="module">
|
23
|
+
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="file-metadata">
|
36
|
+
<div id="file-list-section" class="section">
|
37
|
+
<h3 class="section-header">In Files</h3>
|
38
|
+
<div class="section-body">
|
39
|
+
<ul>
|
40
|
+
|
41
|
+
<li><a href="./lib/omni_kassa/request_rb.html?TB_iframe=true&height=550&width=785"
|
42
|
+
class="thickbox" title="lib/omni_kassa/request.rb">lib/omni_kassa/request.rb</a></li>
|
43
|
+
|
44
|
+
<li><a href="./lib/omni_kassa/response_rb.html?TB_iframe=true&height=550&width=785"
|
45
|
+
class="thickbox" title="lib/omni_kassa/response.rb">lib/omni_kassa/response.rb</a></li>
|
46
|
+
|
47
|
+
<li><a href="./lib/omni_kassa_rb.html?TB_iframe=true&height=550&width=785"
|
48
|
+
class="thickbox" title="lib/omni_kassa.rb">lib/omni_kassa.rb</a></li>
|
49
|
+
|
50
|
+
</ul>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<div id="class-metadata">
|
58
|
+
|
59
|
+
<!-- Parent Class -->
|
60
|
+
|
61
|
+
|
62
|
+
<!-- Namespace Contents -->
|
63
|
+
|
64
|
+
<div id="namespace-list-section" class="section">
|
65
|
+
<h3 class="section-header">Namespace</h3>
|
66
|
+
<ul class="link-list">
|
67
|
+
|
68
|
+
<li><span class="type">CLASS</span> <a href="OmniKassa/ConfigError.html">OmniKassa::ConfigError</a></li>
|
69
|
+
|
70
|
+
<li><span class="type">CLASS</span> <a href="OmniKassa/OmniKassaError.html">OmniKassa::OmniKassaError</a></li>
|
71
|
+
|
72
|
+
<li><span class="type">CLASS</span> <a href="OmniKassa/Request.html">OmniKassa::Request</a></li>
|
73
|
+
|
74
|
+
<li><span class="type">CLASS</span> <a href="OmniKassa/Response.html">OmniKassa::Response</a></li>
|
75
|
+
|
76
|
+
</ul>
|
77
|
+
</div>
|
78
|
+
|
79
|
+
|
80
|
+
<!-- Method Quickref -->
|
81
|
+
|
82
|
+
<div id="method-list-section" class="section">
|
83
|
+
<h3 class="section-header">Methods</h3>
|
84
|
+
<ul class="link-list">
|
85
|
+
|
86
|
+
<li><a href="#method-c-config">::config</a></li>
|
87
|
+
|
88
|
+
<li><a href="#method-c-request_settings">::request_settings</a></li>
|
89
|
+
|
90
|
+
<li><a href="#method-c-secret_key">::secret_key</a></li>
|
91
|
+
|
92
|
+
<li><a href="#method-c-url">::url</a></li>
|
93
|
+
|
94
|
+
</ul>
|
95
|
+
</div>
|
96
|
+
|
97
|
+
|
98
|
+
<!-- Included Modules -->
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<div id="project-metadata">
|
103
|
+
|
104
|
+
|
105
|
+
<div id="fileindex-section" class="section project-section">
|
106
|
+
<h3 class="section-header">Files</h3>
|
107
|
+
<ul>
|
108
|
+
|
109
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
110
|
+
|
111
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
112
|
+
|
113
|
+
</ul>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
|
117
|
+
<div id="classindex-section" class="section project-section">
|
118
|
+
<h3 class="section-header">Class Index
|
119
|
+
<span class="search-toggle"><img src="./images/find.png"
|
120
|
+
height="16" width="16" alt="[+]"
|
121
|
+
title="show/hide quicksearch" /></span></h3>
|
122
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
123
|
+
<fieldset>
|
124
|
+
<legend>Quicksearch</legend>
|
125
|
+
<input type="text" name="quicksearch" value=""
|
126
|
+
class="quicksearch-field" />
|
127
|
+
</fieldset>
|
128
|
+
</form>
|
129
|
+
|
130
|
+
<ul class="link-list">
|
131
|
+
|
132
|
+
<li><a href="./OmniKassa.html">OmniKassa</a></li>
|
133
|
+
|
134
|
+
<li><a href="./OmniKassa/ConfigError.html">OmniKassa::ConfigError</a></li>
|
135
|
+
|
136
|
+
<li><a href="./OmniKassa/OmniKassaError.html">OmniKassa::OmniKassaError</a></li>
|
137
|
+
|
138
|
+
<li><a href="./OmniKassa/Request.html">OmniKassa::Request</a></li>
|
139
|
+
|
140
|
+
<li><a href="./OmniKassa/Request/RequestError.html">OmniKassa::Request::RequestError</a></li>
|
141
|
+
|
142
|
+
<li><a href="./OmniKassa/Response.html">OmniKassa::Response</a></li>
|
143
|
+
|
144
|
+
<li><a href="./OmniKassa/Response/ResponseCodeError.html">OmniKassa::Response::ResponseCodeError</a></li>
|
145
|
+
|
146
|
+
<li><a href="./OmniKassa/Response/SealMismatchError.html">OmniKassa::Response::SealMismatchError</a></li>
|
147
|
+
|
148
|
+
<li><a href="./HelloWorldTest.html">HelloWorldTest</a></li>
|
149
|
+
|
150
|
+
</ul>
|
151
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
152
|
+
</div>
|
153
|
+
|
154
|
+
|
155
|
+
</div>
|
156
|
+
</div>
|
157
|
+
|
158
|
+
<div id="documentation">
|
159
|
+
<h1 class="module">OmniKassa</h1>
|
160
|
+
|
161
|
+
<div id="description">
|
162
|
+
|
163
|
+
</div>
|
164
|
+
|
165
|
+
<!-- Constants -->
|
166
|
+
|
167
|
+
<div id="constants-list" class="section">
|
168
|
+
<h3 class="section-header">Constants</h3>
|
169
|
+
<dl>
|
170
|
+
|
171
|
+
<dt><a name="REQUEST_SETTINGS">REQUEST_SETTINGS</a></dt>
|
172
|
+
|
173
|
+
<dd class="description"></dd>
|
174
|
+
|
175
|
+
|
176
|
+
<dt><a name="SETTINGS">SETTINGS</a></dt>
|
177
|
+
|
178
|
+
<dd class="description"></dd>
|
179
|
+
|
180
|
+
|
181
|
+
</dl>
|
182
|
+
</div>
|
183
|
+
|
184
|
+
|
185
|
+
<!-- Attributes -->
|
186
|
+
|
187
|
+
|
188
|
+
<!-- Methods -->
|
189
|
+
|
190
|
+
<div id="public-class-method-details" class="method-section section">
|
191
|
+
<h3 class="section-header">Public Class Methods</h3>
|
192
|
+
|
193
|
+
|
194
|
+
<div id="config-method" class="method-detail ">
|
195
|
+
<a name="method-c-config"></a>
|
196
|
+
|
197
|
+
<div class="method-heading">
|
198
|
+
|
199
|
+
<span class="method-name">config</span><span
|
200
|
+
class="method-args">(settings)</span>
|
201
|
+
<span class="method-click-advice">click to toggle source</span>
|
202
|
+
|
203
|
+
</div>
|
204
|
+
|
205
|
+
<div class="method-description">
|
206
|
+
|
207
|
+
|
208
|
+
|
209
|
+
|
210
|
+
|
211
|
+
<div class="method-source-code"
|
212
|
+
id="config-source">
|
213
|
+
<pre>
|
214
|
+
<span class="ruby-comment cmt"># File lib/omni_kassa.rb, line 8</span>
|
215
|
+
8: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">config</span>(<span class="ruby-identifier">settings</span>)
|
216
|
+
9: <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">setting</span> <span class="ruby-keyword kw">in</span> <span class="ruby-constant">SETTINGS</span>
|
217
|
+
10: <span class="ruby-identifier">value</span> = <span class="ruby-identifier">settings</span>[<span class="ruby-identifier">setting</span>.<span class="ruby-identifier">to_sym</span>]
|
218
|
+
11: <span class="ruby-identifier">raise</span> <span class="ruby-constant">ConfigError</span>, <span class="ruby-node">"config setting '#{setting}' missing"</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">value</span>.<span class="ruby-identifier">nil?</span>
|
219
|
+
12:
|
220
|
+
13: <span class="ruby-identifier">class_variable_set</span> <span class="ruby-value str">'@@'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">setting</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">value</span>
|
221
|
+
14: <span class="ruby-keyword kw">end</span>
|
222
|
+
15: <span class="ruby-keyword kw">end</span></pre>
|
223
|
+
</div>
|
224
|
+
|
225
|
+
</div>
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
</div>
|
231
|
+
|
232
|
+
|
233
|
+
<div id="request-settings-method" class="method-detail ">
|
234
|
+
<a name="method-c-request_settings"></a>
|
235
|
+
|
236
|
+
<div class="method-heading">
|
237
|
+
|
238
|
+
<span class="method-name">request_settings</span><span
|
239
|
+
class="method-args">()</span>
|
240
|
+
<span class="method-click-advice">click to toggle source</span>
|
241
|
+
|
242
|
+
</div>
|
243
|
+
|
244
|
+
<div class="method-description">
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
<div class="method-source-code"
|
251
|
+
id="request-settings-source">
|
252
|
+
<pre>
|
253
|
+
<span class="ruby-comment cmt"># File lib/omni_kassa.rb, line 17</span>
|
254
|
+
17: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">request_settings</span>
|
255
|
+
18: <span class="ruby-constant">Hash</span>[<span class="ruby-constant">REQUEST_SETTINGS</span>.<span class="ruby-identifier">map</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">setting</span><span class="ruby-operator">|</span>
|
256
|
+
19: [<span class="ruby-identifier">setting</span>.<span class="ruby-identifier">to_s</span>, <span class="ruby-identifier">class_variable_get</span>(<span class="ruby-value str">'@@'</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">setting</span>.<span class="ruby-identifier">to_s</span>)]
|
257
|
+
20: <span class="ruby-keyword kw">end</span>]
|
258
|
+
21: <span class="ruby-keyword kw">end</span></pre>
|
259
|
+
</div>
|
260
|
+
|
261
|
+
</div>
|
262
|
+
|
263
|
+
|
264
|
+
|
265
|
+
|
266
|
+
</div>
|
267
|
+
|
268
|
+
|
269
|
+
<div id="secret-key-method" class="method-detail ">
|
270
|
+
<a name="method-c-secret_key"></a>
|
271
|
+
|
272
|
+
<div class="method-heading">
|
273
|
+
|
274
|
+
<span class="method-name">secret_key</span><span
|
275
|
+
class="method-args">()</span>
|
276
|
+
<span class="method-click-advice">click to toggle source</span>
|
277
|
+
|
278
|
+
</div>
|
279
|
+
|
280
|
+
<div class="method-description">
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
|
285
|
+
|
286
|
+
<div class="method-source-code"
|
287
|
+
id="secret-key-source">
|
288
|
+
<pre>
|
289
|
+
<span class="ruby-comment cmt"># File lib/omni_kassa.rb, line 23</span>
|
290
|
+
23: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">secret_key</span>
|
291
|
+
24: <span class="ruby-identifier">@@secret_key</span>
|
292
|
+
25: <span class="ruby-keyword kw">end</span></pre>
|
293
|
+
</div>
|
294
|
+
|
295
|
+
</div>
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
</div>
|
301
|
+
|
302
|
+
|
303
|
+
<div id="url-method" class="method-detail ">
|
304
|
+
<a name="method-c-url"></a>
|
305
|
+
|
306
|
+
<div class="method-heading">
|
307
|
+
|
308
|
+
<span class="method-name">url</span><span
|
309
|
+
class="method-args">()</span>
|
310
|
+
<span class="method-click-advice">click to toggle source</span>
|
311
|
+
|
312
|
+
</div>
|
313
|
+
|
314
|
+
<div class="method-description">
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
<div class="method-source-code"
|
321
|
+
id="url-source">
|
322
|
+
<pre>
|
323
|
+
<span class="ruby-comment cmt"># File lib/omni_kassa.rb, line 27</span>
|
324
|
+
27: <span class="ruby-keyword kw">def</span> <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">url</span>
|
325
|
+
28: <span class="ruby-identifier">@@url</span>
|
326
|
+
29: <span class="ruby-keyword kw">end</span></pre>
|
327
|
+
</div>
|
328
|
+
|
329
|
+
</div>
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
|
334
|
+
</div>
|
335
|
+
|
336
|
+
|
337
|
+
</div>
|
338
|
+
|
339
|
+
|
340
|
+
</div>
|
341
|
+
|
342
|
+
|
343
|
+
<div id="rdoc-debugging-section-dump" class="debugging-section">
|
344
|
+
|
345
|
+
<p>Disabled; run with --debug to generate this.</p>
|
346
|
+
|
347
|
+
</div>
|
348
|
+
|
349
|
+
<div id="validator-badges">
|
350
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
351
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
352
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
353
|
+
</div>
|
354
|
+
|
355
|
+
</body>
|
356
|
+
</html>
|
357
|
+
|
data/doc/Rakefile.html
ADDED
@@ -0,0 +1,119 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: Rakefile [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file">
|
24
|
+
<div id="metadata">
|
25
|
+
<div id="home-metadata">
|
26
|
+
<div id="home-section" class="section">
|
27
|
+
<h3 class="section-header">
|
28
|
+
<a href="./index.html">Home</a>
|
29
|
+
<a href="./index.html#classes">Classes</a>
|
30
|
+
<a href="./index.html#methods">Methods</a>
|
31
|
+
</h3>
|
32
|
+
</div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="project-metadata">
|
36
|
+
|
37
|
+
|
38
|
+
<div id="fileindex-section" class="section project-section">
|
39
|
+
<h3 class="section-header">Files</h3>
|
40
|
+
<ul>
|
41
|
+
|
42
|
+
<li class="file"><a href="./Gemfile.html">Gemfile</a></li>
|
43
|
+
|
44
|
+
<li class="file"><a href="./Rakefile.html">Rakefile</a></li>
|
45
|
+
|
46
|
+
</ul>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
|
50
|
+
<div id="classindex-section" class="section project-section">
|
51
|
+
<h3 class="section-header">Class Index
|
52
|
+
<span class="search-toggle"><img src="./images/find.png"
|
53
|
+
height="16" width="16" alt="[+]"
|
54
|
+
title="show/hide quicksearch" /></span></h3>
|
55
|
+
<form action="#" method="get" accept-charset="utf-8" class="initially-hidden">
|
56
|
+
<fieldset>
|
57
|
+
<legend>Quicksearch</legend>
|
58
|
+
<input type="text" name="quicksearch" value=""
|
59
|
+
class="quicksearch-field" />
|
60
|
+
</fieldset>
|
61
|
+
</form>
|
62
|
+
|
63
|
+
<ul class="link-list">
|
64
|
+
|
65
|
+
<li><a href="./OmniKassa.html">OmniKassa</a></li>
|
66
|
+
|
67
|
+
<li><a href="./OmniKassa/ConfigError.html">OmniKassa::ConfigError</a></li>
|
68
|
+
|
69
|
+
<li><a href="./OmniKassa/OmniKassaError.html">OmniKassa::OmniKassaError</a></li>
|
70
|
+
|
71
|
+
<li><a href="./OmniKassa/Request.html">OmniKassa::Request</a></li>
|
72
|
+
|
73
|
+
<li><a href="./OmniKassa/Request/RequestError.html">OmniKassa::Request::RequestError</a></li>
|
74
|
+
|
75
|
+
<li><a href="./OmniKassa/Response.html">OmniKassa::Response</a></li>
|
76
|
+
|
77
|
+
<li><a href="./OmniKassa/Response/ResponseCodeError.html">OmniKassa::Response::ResponseCodeError</a></li>
|
78
|
+
|
79
|
+
<li><a href="./OmniKassa/Response/SealMismatchError.html">OmniKassa::Response::SealMismatchError</a></li>
|
80
|
+
|
81
|
+
<li><a href="./HelloWorldTest.html">HelloWorldTest</a></li>
|
82
|
+
|
83
|
+
</ul>
|
84
|
+
<div id="no-class-search-results" style="display: none;">No matching classes.</div>
|
85
|
+
</div>
|
86
|
+
|
87
|
+
|
88
|
+
</div>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div id="documentation">
|
92
|
+
<p>
|
93
|
+
require ‘bundler/setup’ require ‘rake’ require
|
94
|
+
‘rake/testtask‘
|
95
|
+
</p>
|
96
|
+
<p>
|
97
|
+
task default: :test
|
98
|
+
</p>
|
99
|
+
<p>
|
100
|
+
Rake::TestTask.new do |t|
|
101
|
+
</p>
|
102
|
+
<pre>
|
103
|
+
t.libs << 'test/lib'
|
104
|
+
t.pattern = 'test/*_test.rb'
|
105
|
+
</pre>
|
106
|
+
<p>
|
107
|
+
end
|
108
|
+
</p>
|
109
|
+
|
110
|
+
</div>
|
111
|
+
|
112
|
+
<div id="validator-badges">
|
113
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
114
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
115
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
116
|
+
</div>
|
117
|
+
</body>
|
118
|
+
</html>
|
119
|
+
|
data/doc/app_rb.html
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>File: app.rb [RDoc Documentation]</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="./js/jquery.js" type="text/javascript"
|
14
|
+
charset="utf-8"></script>
|
15
|
+
<script src="./js/thickbox-compressed.js" type="text/javascript"
|
16
|
+
charset="utf-8"></script>
|
17
|
+
<script src="./js/quicksearch.js" type="text/javascript"
|
18
|
+
charset="utf-8"></script>
|
19
|
+
<script src="./js/darkfish.js" type="text/javascript"
|
20
|
+
charset="utf-8"></script>
|
21
|
+
</head>
|
22
|
+
|
23
|
+
<body class="file file-popup">
|
24
|
+
<div id="metadata">
|
25
|
+
<dl>
|
26
|
+
<dt class="modified-date">Last Modified</dt>
|
27
|
+
<dd class="modified-date">2012-12-02 14:51:13 +0100</dd>
|
28
|
+
|
29
|
+
|
30
|
+
<dt class="requires">Requires</dt>
|
31
|
+
<dd class="requires">
|
32
|
+
<ul>
|
33
|
+
|
34
|
+
<li>omni_kassa</li>
|
35
|
+
|
36
|
+
<li>./test_settings</li>
|
37
|
+
|
38
|
+
</ul>
|
39
|
+
</dd>
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
</dl>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="documentation">
|
47
|
+
|
48
|
+
<div class="description">
|
49
|
+
<h2>Description</h2>
|
50
|
+
|
51
|
+
</div>
|
52
|
+
|
53
|
+
</div>
|
54
|
+
</body>
|
55
|
+
</html>
|
56
|
+
|
data/doc/created.rid
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
Sun, 02 Dec 2012 17:06:57 +0100
|
2
|
+
./app.rb Sun, 02 Dec 2012 14:51:13 +0100
|
3
|
+
./Gemfile Sun, 02 Dec 2012 15:07:48 +0100
|
4
|
+
./lib/omni_kassa/request.rb Sun, 02 Dec 2012 12:59:01 +0100
|
5
|
+
./lib/omni_kassa/response.rb Sun, 02 Dec 2012 13:16:55 +0100
|
6
|
+
./lib/omni_kassa.rb Sun, 02 Dec 2012 12:20:52 +0100
|
7
|
+
./Rakefile Sun, 02 Dec 2012 13:20:20 +0100
|
8
|
+
./test/lib/omni_kassa/test_helper.rb Sun, 02 Dec 2012 15:11:58 +0100
|
9
|
+
./test/omni_kassa_test.rb Sun, 02 Dec 2012 15:11:46 +0100
|
10
|
+
./test_settings.rb Sun, 02 Dec 2012 14:52:08 +0100
|
data/doc/index.html
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
3
|
+
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
4
|
+
|
5
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
6
|
+
<head>
|
7
|
+
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
|
8
|
+
|
9
|
+
<title>RDoc Documentation</title>
|
10
|
+
|
11
|
+
<link type="text/css" media="screen" href="rdoc.css" rel="stylesheet" />
|
12
|
+
|
13
|
+
<script src="js/jquery.js" type="text/javascript" charset="utf-8"></script>
|
14
|
+
<script src="js/thickbox-compressed.js" type="text/javascript" charset="utf-8"></script>
|
15
|
+
<script src="js/quicksearch.js" type="text/javascript" charset="utf-8"></script>
|
16
|
+
<script src="js/darkfish.js" type="text/javascript" charset="utf-8"></script>
|
17
|
+
|
18
|
+
</head>
|
19
|
+
<body class="indexpage">
|
20
|
+
|
21
|
+
|
22
|
+
<h1>RDoc Documentation</h1>
|
23
|
+
|
24
|
+
|
25
|
+
<p>This is the API documentation for 'RDoc Documentation'.</p>
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
<h2>Files</h2>
|
31
|
+
<ul>
|
32
|
+
|
33
|
+
<li class="file"><a href="Gemfile.html">Gemfile</a></li>
|
34
|
+
|
35
|
+
<li class="file"><a href="Rakefile.html">Rakefile</a></li>
|
36
|
+
|
37
|
+
</ul>
|
38
|
+
|
39
|
+
|
40
|
+
<h2 id="classes">Classes/Modules</h2>
|
41
|
+
<ul>
|
42
|
+
|
43
|
+
<li class="module"><a href="OmniKassa.html">OmniKassa</a></li>
|
44
|
+
|
45
|
+
<li class="class"><a href="OmniKassa/ConfigError.html">OmniKassa::ConfigError</a></li>
|
46
|
+
|
47
|
+
<li class="class"><a href="OmniKassa/OmniKassaError.html">OmniKassa::OmniKassaError</a></li>
|
48
|
+
|
49
|
+
<li class="class"><a href="OmniKassa/Request.html">OmniKassa::Request</a></li>
|
50
|
+
|
51
|
+
<li class="class"><a href="OmniKassa/Request/RequestError.html">OmniKassa::Request::RequestError</a></li>
|
52
|
+
|
53
|
+
<li class="class"><a href="OmniKassa/Response.html">OmniKassa::Response</a></li>
|
54
|
+
|
55
|
+
<li class="class"><a href="OmniKassa/Response/ResponseCodeError.html">OmniKassa::Response::ResponseCodeError</a></li>
|
56
|
+
|
57
|
+
<li class="class"><a href="OmniKassa/Response/SealMismatchError.html">OmniKassa::Response::SealMismatchError</a></li>
|
58
|
+
|
59
|
+
<li class="class"><a href="HelloWorldTest.html">HelloWorldTest</a></li>
|
60
|
+
|
61
|
+
</ul>
|
62
|
+
|
63
|
+
<h2 id="methods">Methods</h2>
|
64
|
+
<ul>
|
65
|
+
|
66
|
+
<li><a href="OmniKassa.html#method-c-config">::config — OmniKassa</a></li>
|
67
|
+
|
68
|
+
<li><a href="OmniKassa/Request.html#method-c-new">::new — OmniKassa::Request</a></li>
|
69
|
+
|
70
|
+
<li><a href="OmniKassa/Response.html#method-c-new">::new — OmniKassa::Response</a></li>
|
71
|
+
|
72
|
+
<li><a href="OmniKassa.html#method-c-request_settings">::request_settings — OmniKassa</a></li>
|
73
|
+
|
74
|
+
<li><a href="OmniKassa.html#method-c-secret_key">::secret_key — OmniKassa</a></li>
|
75
|
+
|
76
|
+
<li><a href="OmniKassa.html#method-c-url">::url — OmniKassa</a></li>
|
77
|
+
|
78
|
+
<li><a href="OmniKassa/Request.html#method-i-data">#data — OmniKassa::Request</a></li>
|
79
|
+
|
80
|
+
<li><a href="OmniKassa/Response.html#method-i-data%3D">#data= — OmniKassa::Response</a></li>
|
81
|
+
|
82
|
+
<li><a href="OmniKassa/Request.html#method-i-data_hash">#data_hash — OmniKassa::Request</a></li>
|
83
|
+
|
84
|
+
<li><a href="OmniKassa/Response.html#method-i-data_hash">#data_hash — OmniKassa::Response</a></li>
|
85
|
+
|
86
|
+
<li><a href="OmniKassa/Response.html#method-i-parse_data_hash">#parse_data_hash — OmniKassa::Response</a></li>
|
87
|
+
|
88
|
+
<li><a href="OmniKassa/Request.html#method-i-perform">#perform — OmniKassa::Request</a></li>
|
89
|
+
|
90
|
+
<li><a href="OmniKassa/Request.html#method-i-query">#query — OmniKassa::Request</a></li>
|
91
|
+
|
92
|
+
<li><a href="OmniKassa/Response.html#method-i-response">#response — OmniKassa::Response</a></li>
|
93
|
+
|
94
|
+
<li><a href="OmniKassa/Response.html#method-i-response_code%3D">#response_code= — OmniKassa::Response</a></li>
|
95
|
+
|
96
|
+
<li><a href="OmniKassa/Request.html#method-i-seal">#seal — OmniKassa::Request</a></li>
|
97
|
+
|
98
|
+
<li><a href="HelloWorldTest.html#method-i-setup">#setup — HelloWorldTest</a></li>
|
99
|
+
|
100
|
+
<li><a href="OmniKassa/Response.html#method-i-successful%3F">#successful? — OmniKassa::Response</a></li>
|
101
|
+
|
102
|
+
<li><a href="HelloWorldTest.html#method-i-test_amount_1337">#test_amount_1337 — HelloWorldTest</a></li>
|
103
|
+
|
104
|
+
<li><a href="OmniKassa/Request.html#method-i-transaction_reference">#transaction_reference — OmniKassa::Request</a></li>
|
105
|
+
|
106
|
+
<li><a href="OmniKassa/Response.html#method-i-verify_seal%21">#verify_seal! — OmniKassa::Response</a></li>
|
107
|
+
|
108
|
+
</ul>
|
109
|
+
|
110
|
+
<div id="validator-badges">
|
111
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
112
|
+
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
113
|
+
Rdoc Generator</a> 1.1.6</small>.</p>
|
114
|
+
</div>
|
115
|
+
</body>
|
116
|
+
</html>
|