kaznachey_payments 0.9.7.7

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.
Files changed (51) hide show
  1. checksums.yaml +15 -0
  2. data/Gemfile +9 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +50 -0
  5. data/Rakefile +2 -0
  6. data/doc/HttpHelper.html +221 -0
  7. data/doc/KaznacheyConfigurations.html +132 -0
  8. data/doc/KaznacheyPayments.html +117 -0
  9. data/doc/KaznacheyPaymentsApi.html +294 -0
  10. data/doc/Md5Helper.html +189 -0
  11. data/doc/PaySystem.html +430 -0
  12. data/doc/PaymentDetails.html +900 -0
  13. data/doc/Product.html +480 -0
  14. data/doc/ReqCommonObject.html +274 -0
  15. data/doc/ReqCreatePayment.html +534 -0
  16. data/doc/ReqGetMerchantInfo.html +202 -0
  17. data/doc/RespCommonObject.html +274 -0
  18. data/doc/RespCreatePayment.html +303 -0
  19. data/doc/RespMerchantInfo.html +387 -0
  20. data/doc/RespPaymentStatus.html +689 -0
  21. data/doc/_index.html +212 -0
  22. data/doc/class_list.html +58 -0
  23. data/doc/css/common.css +1 -0
  24. data/doc/css/full_list.css +57 -0
  25. data/doc/css/style.css +339 -0
  26. data/doc/file.README.html +110 -0
  27. data/doc/file_list.html +60 -0
  28. data/doc/frames.html +26 -0
  29. data/doc/index.html +126 -0
  30. data/doc/js/app.js +219 -0
  31. data/doc/js/full_list.js +181 -0
  32. data/doc/js/jquery.js +4 -0
  33. data/doc/method_list.html +333 -0
  34. data/doc/top-level-namespace.html +114 -0
  35. data/lib/ApiObjects/Requests/payment_details.rb +34 -0
  36. data/lib/ApiObjects/Requests/product.rb +16 -0
  37. data/lib/ApiObjects/Requests/req_common_object.rb +6 -0
  38. data/lib/ApiObjects/Requests/req_create_payment.rb +42 -0
  39. data/lib/ApiObjects/Requests/req_get_merchant_info.rb +11 -0
  40. data/lib/ApiObjects/Responses/pay_system.rb +19 -0
  41. data/lib/ApiObjects/Responses/resp_common_object.rb +6 -0
  42. data/lib/ApiObjects/Responses/resp_create_payment.rb +15 -0
  43. data/lib/ApiObjects/Responses/resp_merchant_info.rb +26 -0
  44. data/lib/ApiObjects/Responses/resp_payment_status.rb +43 -0
  45. data/lib/ApiObjects/kaznachey_configurations.rb +9 -0
  46. data/lib/Helpers/http_helper.rb +26 -0
  47. data/lib/Helpers/md5_helper.rb +7 -0
  48. data/lib/kaznachey_payments/version.rb +3 -0
  49. data/lib/kaznachey_payments_api.rb +32 -0
  50. data/test/test_get_merchant_info.rb +55 -0
  51. metadata +95 -0
@@ -0,0 +1,202 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: ReqGetMerchantInfo
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!ReqGetMerchantInfo.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (R)</a> &raquo;
35
+
36
+
37
+ <span class="title">ReqGetMerchantInfo</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: ReqGetMerchantInfo
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName"><span class='object_link'><a href="ReqCommonObject.html" title="ReqCommonObject (class)">ReqCommonObject</a></span></span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next"><span class='object_link'><a href="ReqCommonObject.html" title="ReqCommonObject (class)">ReqCommonObject</a></span></li>
82
+
83
+ <li class="next">ReqGetMerchantInfo</li>
84
+
85
+ </ul>
86
+ <a href="#" class="inheritanceTree">show all</a>
87
+
88
+ </dd>
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+ <dt class="r2 last">Defined in:</dt>
99
+ <dd class="r2 last">lib/ApiObjects/Requests/req_get_merchant_info.rb</dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+ <h2>Instance Attribute Summary</h2>
111
+
112
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="ReqCommonObject.html" title="ReqCommonObject (class)">ReqCommonObject</a></span></h3>
113
+ <p class="inherited"><span class='object_link'><a href="ReqCommonObject.html#MerchantGuid-instance_method" title="ReqCommonObject#MerchantGuid (method)">#MerchantGuid</a></span>, <span class='object_link'><a href="ReqCommonObject.html#Signature-instance_method" title="ReqCommonObject#Signature (method)">#Signature</a></span></p>
114
+
115
+
116
+
117
+ <h2>
118
+ Instance Method Summary
119
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
120
+ </h2>
121
+
122
+ <ul class="summary">
123
+
124
+ <li class="public ">
125
+ <span class="summary_signature">
126
+
127
+ <a href="#GenerateSign-instance_method" title="#GenerateSign (instance method)">- (Object) <strong>GenerateSign</strong> </a>
128
+
129
+
130
+
131
+ </span>
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ <span class="summary_desc"><div class='inline'></div></span>
142
+
143
+ </li>
144
+
145
+
146
+ </ul>
147
+
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+ <div id="instance_method_details" class="method_details_list">
158
+ <h2>Instance Method Details</h2>
159
+
160
+
161
+ <div class="method_details first">
162
+ <h3 class="signature first" id="GenerateSign-instance_method">
163
+
164
+ - (<tt>Object</tt>) <strong>GenerateSign</strong>
165
+
166
+
167
+
168
+
169
+
170
+ </h3><table class="source_code">
171
+ <tr>
172
+ <td>
173
+ <pre class="lines">
174
+
175
+
176
+ 7
177
+ 8
178
+ 9</pre>
179
+ </td>
180
+ <td>
181
+ <pre class="code"><span class="info file"># File 'lib/ApiObjects/Requests/req_get_merchant_info.rb', line 7</span>
182
+
183
+ <span class='kw'>def</span> <span class='const'>GenerateSign</span>
184
+ <span class='ivar'>@Signature</span> <span class='op'>=</span> <span class='const'>Md5Helper</span><span class='period'>.</span><span class='const'>GetMd5FromString</span><span class='lparen'>(</span><span class='const'>KaznacheyConfigurations</span><span class='period'>.</span><span class='const'>MerchantGuid</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span> <span class='op'>+</span> <span class='const'>KaznacheyConfigurations</span><span class='period'>.</span><span class='const'>MerchantSecretKey</span><span class='period'>.</span><span class='id identifier rubyid_upcase'>upcase</span><span class='rparen'>)</span><span class='semicolon'>;</span>
185
+ <span class='kw'>end</span></pre>
186
+ </td>
187
+ </tr>
188
+ </table>
189
+ </div>
190
+
191
+ </div>
192
+
193
+ </div>
194
+
195
+ <div id="footer">
196
+ Generated on Wed Dec 3 14:19:56 2014 by
197
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
198
+ 0.8.7.6 (ruby-1.9.3).
199
+ </div>
200
+
201
+ </body>
202
+ </html>
@@ -0,0 +1,274 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: RespCommonObject
8
+
9
+ &mdash; Documentation by YARD 0.8.7.6
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '';
20
+ framesUrl = "frames.html#!RespCommonObject.html";
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="_index.html">Index (R)</a> &raquo;
35
+
36
+
37
+ <span class="title">RespCommonObject</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: RespCommonObject
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">RespCommonObject</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/ApiObjects/Responses/resp_common_object.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+ <div id="subclasses">
103
+ <h2>Direct Known Subclasses</h2>
104
+ <p class="children"><span class='object_link'><a href="RespCreatePayment.html" title="RespCreatePayment (class)">RespCreatePayment</a></span>, <span class='object_link'><a href="RespMerchantInfo.html" title="RespMerchantInfo (class)">RespMerchantInfo</a></span>, <span class='object_link'><a href="RespPaymentStatus.html" title="RespPaymentStatus (class)">RespPaymentStatus</a></span></p>
105
+ </div>
106
+
107
+
108
+
109
+
110
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
111
+ <ul class="summary">
112
+
113
+ <li class="public ">
114
+ <span class="summary_signature">
115
+
116
+ <a href="#DebugMessage-instance_method" title="#DebugMessage (instance method)">- (Object) <strong>DebugMessage</strong> </a>
117
+
118
+
119
+
120
+ </span>
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+ <span class="summary_desc"><div class='inline'>
134
+ <p>Returns the value of attribute DebugMessage.</p>
135
+ </div></span>
136
+
137
+ </li>
138
+
139
+
140
+ <li class="public ">
141
+ <span class="summary_signature">
142
+
143
+ <a href="#ErrorCode-instance_method" title="#ErrorCode (instance method)">- (Object) <strong>ErrorCode</strong> </a>
144
+
145
+
146
+
147
+ </span>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+
157
+
158
+
159
+
160
+ <span class="summary_desc"><div class='inline'>
161
+ <p>Success = 0.</p>
162
+ </div></span>
163
+
164
+ </li>
165
+
166
+
167
+ </ul>
168
+
169
+
170
+
171
+
172
+
173
+ <div id="instance_attr_details" class="attr_details">
174
+ <h2>Instance Attribute Details</h2>
175
+
176
+
177
+ <span id="DebugMessage=-instance_method"></span>
178
+ <div class="method_details first">
179
+ <h3 class="signature first" id="DebugMessage-instance_method">
180
+
181
+ - (<tt>Object</tt>) <strong>DebugMessage</strong>
182
+
183
+
184
+
185
+
186
+
187
+ </h3><div class="docstring">
188
+ <div class="discussion">
189
+
190
+ <p>Returns the value of attribute DebugMessage</p>
191
+
192
+
193
+ </div>
194
+ </div>
195
+ <div class="tags">
196
+
197
+
198
+ </div><table class="source_code">
199
+ <tr>
200
+ <td>
201
+ <pre class="lines">
202
+
203
+
204
+ 2
205
+ 3
206
+ 4</pre>
207
+ </td>
208
+ <td>
209
+ <pre class="code"><span class="info file"># File 'lib/ApiObjects/Responses/resp_common_object.rb', line 2</span>
210
+
211
+ <span class='kw'>def</span> <span class='const'>DebugMessage</span>
212
+ <span class='ivar'>@DebugMessage</span>
213
+ <span class='kw'>end</span></pre>
214
+ </td>
215
+ </tr>
216
+ </table>
217
+ </div>
218
+
219
+
220
+ <span id="ErrorCode=-instance_method"></span>
221
+ <div class="method_details ">
222
+ <h3 class="signature " id="ErrorCode-instance_method">
223
+
224
+ - (<tt>Object</tt>) <strong>ErrorCode</strong>
225
+
226
+
227
+
228
+
229
+
230
+ </h3><div class="docstring">
231
+ <div class="discussion">
232
+
233
+ <p>Success = 0</p>
234
+
235
+
236
+ </div>
237
+ </div>
238
+ <div class="tags">
239
+
240
+
241
+ </div><table class="source_code">
242
+ <tr>
243
+ <td>
244
+ <pre class="lines">
245
+
246
+
247
+ 5
248
+ 6
249
+ 7</pre>
250
+ </td>
251
+ <td>
252
+ <pre class="code"><span class="info file"># File 'lib/ApiObjects/Responses/resp_common_object.rb', line 5</span>
253
+
254
+ <span class='kw'>def</span> <span class='const'>ErrorCode</span>
255
+ <span class='ivar'>@ErrorCode</span>
256
+ <span class='kw'>end</span></pre>
257
+ </td>
258
+ </tr>
259
+ </table>
260
+ </div>
261
+
262
+ </div>
263
+
264
+
265
+ </div>
266
+
267
+ <div id="footer">
268
+ Generated on Wed Dec 3 14:19:56 2014 by
269
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
270
+ 0.8.7.6 (ruby-1.9.3).
271
+ </div>
272
+
273
+ </body>
274
+ </html>