big-door-fork 0.0.1
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.
- data/.bundle/config +2 -0
- data/.document +5 -0
- data/.gitignore +22 -0
- data/Gemfile +12 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +60 -0
- data/VERSION +1 -0
- data/big-door-fork.gemspec +101 -0
- data/features/big-door.feature +34 -0
- data/features/step_definitions/big-door_steps.rb +83 -0
- data/features/support/env.rb +5 -0
- data/lib/big-door.rb +153 -0
- data/lib/big-door/base.rb +45 -0
- data/lib/big-door/currency.rb +25 -0
- data/lib/big-door/named_award.rb +25 -0
- data/lib/big-door/named_award_collection.rb +27 -0
- data/lib/big-door/named_level.rb +25 -0
- data/lib/big-door/named_level_collection.rb +27 -0
- data/lib/big-door/named_transaction.rb +25 -0
- data/lib/big-door/named_transaction_group.rb +27 -0
- data/lib/big-door/request.rb +7 -0
- data/lib/big-door/response_codes.rb +266 -0
- data/lib/big-door/user.rb +69 -0
- data/spec/.rspec +1 -0
- data/spec/big-door_spec.rb +127 -0
- data/spec/spec_helper.rb +19 -0
- data/spec/support/vcr.rb +7 -0
- data/vcr_cassettes/NamedTransaction/NamedTransaction.yml +213 -0
- data/vcr_cassettes/NamedTransaction/specific.yml +6043 -0
- data/vcr_cassettes/award/award_summary.yml +34 -0
- data/vcr_cassettes/currency/currency.yml +52 -0
- data/vcr_cassettes/currency/currency_type.yml +31 -0
- data/vcr_cassettes/currency/specific.yml +2980 -0
- data/vcr_cassettes/good/good_summary.yml +34 -0
- data/vcr_cassettes/level/level_summary.yml +34 -0
- data/vcr_cassettes/named_transaction/named_transactions.yml +107 -0
- data/vcr_cassettes/named_transaction_group/all.yml +145 -0
- data/vcr_cassettes/named_transaction_group/specific.yml +3171 -0
- data/vcr_cassettes/user/add_points.yml +36 -0
- data/vcr_cassettes/user/all.yml +10035 -0
- data/vcr_cassettes/user/create.yml +4259 -0
- data/vcr_cassettes/user/currency_balance.yml +738 -0
- data/vcr_cassettes/user/delete.yml +28 -0
- data/vcr_cassettes/user/new.yml +5660 -0
- data/vcr_cassettes/user/new_currency_balance.yml +470 -0
- data/vcr_cassettes/user/specific.yml +44 -0
- metadata +182 -0
@@ -0,0 +1,738 @@
|
|
1
|
+
---
|
2
|
+
- !ruby/struct:VCR::HTTPInteraction
|
3
|
+
request: !ruby/struct:VCR::Request
|
4
|
+
method: :get
|
5
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282766698.95&format=json&sig=4701d94833875738583452cdaf432b1f40c1f44ae065c13ca2f0239f8d37e7a2
|
6
|
+
body:
|
7
|
+
headers:
|
8
|
+
connection:
|
9
|
+
- close
|
10
|
+
host:
|
11
|
+
- api.bigdoor.com
|
12
|
+
response: !ruby/struct:VCR::Response
|
13
|
+
status: !ruby/struct:VCR::ResponseStatus
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
connection:
|
18
|
+
- Close
|
19
|
+
content-type:
|
20
|
+
- application/json; charset=utf-8
|
21
|
+
server:
|
22
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
23
|
+
date:
|
24
|
+
- Wed, 25 Aug 2010 20:04:59 GMT
|
25
|
+
content-length:
|
26
|
+
- "1343"
|
27
|
+
vary:
|
28
|
+
- Authorization,Cookie
|
29
|
+
body: |-
|
30
|
+
[
|
31
|
+
[
|
32
|
+
{
|
33
|
+
"end_user_description": null,
|
34
|
+
"read_only": 0,
|
35
|
+
"modified_timestamp": 1282766434,
|
36
|
+
"pub_title": "temp_points",
|
37
|
+
"transaction_group_id": "592c9ff06d839b914b32966cdb69e395",
|
38
|
+
"adjustment_amount": "30.00",
|
39
|
+
"id": 10215423,
|
40
|
+
"currency": {
|
41
|
+
"end_user_description": null,
|
42
|
+
"read_only": 0,
|
43
|
+
"modified_timestamp": 1281974693,
|
44
|
+
"pub_title": "temp_points",
|
45
|
+
"currency_type_title": "Skill Points",
|
46
|
+
"currency_type_id": 9,
|
47
|
+
"exchange_rate": "1.00",
|
48
|
+
"resource_name": "currency",
|
49
|
+
"urls": [],
|
50
|
+
"created_timestamp": 1281974693,
|
51
|
+
"pub_description": null,
|
52
|
+
"end_user_title": "Temp Points",
|
53
|
+
"relative_weight": 1,
|
54
|
+
"id": 579,
|
55
|
+
"currency_type_description": ""
|
56
|
+
},
|
57
|
+
"prev_balance": "240.00",
|
58
|
+
"resource_name": "end_user_currency_balance",
|
59
|
+
"created_timestamp": 1282752987,
|
60
|
+
"pub_description": null,
|
61
|
+
"end_user_title": "Temp Points",
|
62
|
+
"end_user_login": "tester",
|
63
|
+
"curr_balance": "270.00"
|
64
|
+
}
|
65
|
+
],
|
66
|
+
{}
|
67
|
+
]
|
68
|
+
http_version: "1.1"
|
69
|
+
- !ruby/struct:VCR::HTTPInteraction
|
70
|
+
request: !ruby/struct:VCR::Request
|
71
|
+
method: :get
|
72
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282766720.68&format=json&sig=b0e639f5fe5a031cc35b1b91b5c35614a8d335c1b18de81084b9e628ddde13cc
|
73
|
+
body:
|
74
|
+
headers:
|
75
|
+
connection:
|
76
|
+
- close
|
77
|
+
host:
|
78
|
+
- api.bigdoor.com
|
79
|
+
response: !ruby/struct:VCR::Response
|
80
|
+
status: !ruby/struct:VCR::ResponseStatus
|
81
|
+
code: 200
|
82
|
+
message: OK
|
83
|
+
headers:
|
84
|
+
content-type:
|
85
|
+
- application/json; charset=utf-8
|
86
|
+
connection:
|
87
|
+
- Close
|
88
|
+
date:
|
89
|
+
- Wed, 25 Aug 2010 20:05:20 GMT
|
90
|
+
server:
|
91
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
92
|
+
content-length:
|
93
|
+
- "1343"
|
94
|
+
vary:
|
95
|
+
- Authorization,Cookie
|
96
|
+
body: |-
|
97
|
+
[
|
98
|
+
[
|
99
|
+
{
|
100
|
+
"end_user_description": null,
|
101
|
+
"read_only": 0,
|
102
|
+
"modified_timestamp": 1282766434,
|
103
|
+
"pub_title": "temp_points",
|
104
|
+
"transaction_group_id": "592c9ff06d839b914b32966cdb69e395",
|
105
|
+
"adjustment_amount": "30.00",
|
106
|
+
"id": 10215423,
|
107
|
+
"currency": {
|
108
|
+
"end_user_description": null,
|
109
|
+
"read_only": 0,
|
110
|
+
"modified_timestamp": 1281974693,
|
111
|
+
"pub_title": "temp_points",
|
112
|
+
"currency_type_title": "Skill Points",
|
113
|
+
"currency_type_id": 9,
|
114
|
+
"exchange_rate": "1.00",
|
115
|
+
"resource_name": "currency",
|
116
|
+
"urls": [],
|
117
|
+
"created_timestamp": 1281974693,
|
118
|
+
"pub_description": null,
|
119
|
+
"end_user_title": "Temp Points",
|
120
|
+
"relative_weight": 1,
|
121
|
+
"id": 579,
|
122
|
+
"currency_type_description": ""
|
123
|
+
},
|
124
|
+
"prev_balance": "240.00",
|
125
|
+
"resource_name": "end_user_currency_balance",
|
126
|
+
"created_timestamp": 1282752987,
|
127
|
+
"pub_description": null,
|
128
|
+
"end_user_title": "Temp Points",
|
129
|
+
"end_user_login": "tester",
|
130
|
+
"curr_balance": "270.00"
|
131
|
+
}
|
132
|
+
],
|
133
|
+
{}
|
134
|
+
]
|
135
|
+
http_version: "1.1"
|
136
|
+
- !ruby/struct:VCR::HTTPInteraction
|
137
|
+
request: !ruby/struct:VCR::Request
|
138
|
+
method: :get
|
139
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282766827.99&format=json&sig=347f1fc635e79c7b681638e01aaa95d5e61d333d12e4cee9e50dd9fcfc5bbc9f
|
140
|
+
body:
|
141
|
+
headers:
|
142
|
+
connection:
|
143
|
+
- close
|
144
|
+
host:
|
145
|
+
- api.bigdoor.com
|
146
|
+
response: !ruby/struct:VCR::Response
|
147
|
+
status: !ruby/struct:VCR::ResponseStatus
|
148
|
+
code: 200
|
149
|
+
message: OK
|
150
|
+
headers:
|
151
|
+
connection:
|
152
|
+
- Close
|
153
|
+
content-type:
|
154
|
+
- application/json; charset=utf-8
|
155
|
+
server:
|
156
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
157
|
+
date:
|
158
|
+
- Wed, 25 Aug 2010 20:07:08 GMT
|
159
|
+
content-length:
|
160
|
+
- "1343"
|
161
|
+
vary:
|
162
|
+
- Authorization,Cookie
|
163
|
+
body: |-
|
164
|
+
[
|
165
|
+
[
|
166
|
+
{
|
167
|
+
"end_user_description": null,
|
168
|
+
"read_only": 0,
|
169
|
+
"modified_timestamp": 1282766434,
|
170
|
+
"pub_title": "temp_points",
|
171
|
+
"transaction_group_id": "592c9ff06d839b914b32966cdb69e395",
|
172
|
+
"adjustment_amount": "30.00",
|
173
|
+
"id": 10215423,
|
174
|
+
"currency": {
|
175
|
+
"end_user_description": null,
|
176
|
+
"read_only": 0,
|
177
|
+
"modified_timestamp": 1281974693,
|
178
|
+
"pub_title": "temp_points",
|
179
|
+
"currency_type_title": "Skill Points",
|
180
|
+
"currency_type_id": 9,
|
181
|
+
"exchange_rate": "1.00",
|
182
|
+
"resource_name": "currency",
|
183
|
+
"urls": [],
|
184
|
+
"created_timestamp": 1281974693,
|
185
|
+
"pub_description": null,
|
186
|
+
"end_user_title": "Temp Points",
|
187
|
+
"relative_weight": 1,
|
188
|
+
"id": 579,
|
189
|
+
"currency_type_description": ""
|
190
|
+
},
|
191
|
+
"prev_balance": "240.00",
|
192
|
+
"resource_name": "end_user_currency_balance",
|
193
|
+
"created_timestamp": 1282752987,
|
194
|
+
"pub_description": null,
|
195
|
+
"end_user_title": "Temp Points",
|
196
|
+
"end_user_login": "tester",
|
197
|
+
"curr_balance": "270.00"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
{}
|
201
|
+
]
|
202
|
+
http_version: "1.1"
|
203
|
+
- !ruby/struct:VCR::HTTPInteraction
|
204
|
+
request: !ruby/struct:VCR::Request
|
205
|
+
method: :get
|
206
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767016.05&format=json&sig=d6f3f9ef0d98600c2e642a117d4e011d2f6605c23633467bbe3dbb8ca536db25
|
207
|
+
body:
|
208
|
+
headers:
|
209
|
+
connection:
|
210
|
+
- close
|
211
|
+
host:
|
212
|
+
- api.bigdoor.com
|
213
|
+
response: !ruby/struct:VCR::Response
|
214
|
+
status: !ruby/struct:VCR::ResponseStatus
|
215
|
+
code: 200
|
216
|
+
message: OK
|
217
|
+
headers:
|
218
|
+
content-type:
|
219
|
+
- application/json; charset=utf-8
|
220
|
+
connection:
|
221
|
+
- Close
|
222
|
+
date:
|
223
|
+
- Wed, 25 Aug 2010 20:10:16 GMT
|
224
|
+
server:
|
225
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
226
|
+
content-length:
|
227
|
+
- "1343"
|
228
|
+
vary:
|
229
|
+
- Authorization,Cookie
|
230
|
+
body: |-
|
231
|
+
[
|
232
|
+
[
|
233
|
+
{
|
234
|
+
"end_user_description": null,
|
235
|
+
"read_only": 0,
|
236
|
+
"modified_timestamp": 1282766434,
|
237
|
+
"pub_title": "temp_points",
|
238
|
+
"transaction_group_id": "592c9ff06d839b914b32966cdb69e395",
|
239
|
+
"adjustment_amount": "30.00",
|
240
|
+
"id": 10215423,
|
241
|
+
"currency": {
|
242
|
+
"end_user_description": null,
|
243
|
+
"read_only": 0,
|
244
|
+
"modified_timestamp": 1281974693,
|
245
|
+
"pub_title": "temp_points",
|
246
|
+
"currency_type_title": "Skill Points",
|
247
|
+
"currency_type_id": 9,
|
248
|
+
"exchange_rate": "1.00",
|
249
|
+
"resource_name": "currency",
|
250
|
+
"urls": [],
|
251
|
+
"created_timestamp": 1281974693,
|
252
|
+
"pub_description": null,
|
253
|
+
"end_user_title": "Temp Points",
|
254
|
+
"relative_weight": 1,
|
255
|
+
"id": 579,
|
256
|
+
"currency_type_description": ""
|
257
|
+
},
|
258
|
+
"prev_balance": "240.00",
|
259
|
+
"resource_name": "end_user_currency_balance",
|
260
|
+
"created_timestamp": 1282752987,
|
261
|
+
"pub_description": null,
|
262
|
+
"end_user_title": "Temp Points",
|
263
|
+
"end_user_login": "tester",
|
264
|
+
"curr_balance": "270.00"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
{}
|
268
|
+
]
|
269
|
+
http_version: "1.1"
|
270
|
+
- !ruby/struct:VCR::HTTPInteraction
|
271
|
+
request: !ruby/struct:VCR::Request
|
272
|
+
method: :get
|
273
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767045.27&format=json&sig=98e42c99a9bb483596f796536eaec4c2506e5c202d74a41bac2eb61846a86d1e
|
274
|
+
body:
|
275
|
+
headers:
|
276
|
+
connection:
|
277
|
+
- close
|
278
|
+
host:
|
279
|
+
- api.bigdoor.com
|
280
|
+
response: !ruby/struct:VCR::Response
|
281
|
+
status: !ruby/struct:VCR::ResponseStatus
|
282
|
+
code: 200
|
283
|
+
message: OK
|
284
|
+
headers:
|
285
|
+
connection:
|
286
|
+
- Close
|
287
|
+
content-type:
|
288
|
+
- application/json; charset=utf-8
|
289
|
+
server:
|
290
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
291
|
+
date:
|
292
|
+
- Wed, 25 Aug 2010 20:10:45 GMT
|
293
|
+
content-length:
|
294
|
+
- "1343"
|
295
|
+
vary:
|
296
|
+
- Authorization,Cookie
|
297
|
+
body: |-
|
298
|
+
[
|
299
|
+
[
|
300
|
+
{
|
301
|
+
"end_user_description": null,
|
302
|
+
"read_only": 0,
|
303
|
+
"modified_timestamp": 1282767016,
|
304
|
+
"pub_title": "temp_points",
|
305
|
+
"transaction_group_id": "72138643720a02db31a7bced97821a39",
|
306
|
+
"adjustment_amount": "30.00",
|
307
|
+
"id": 10215423,
|
308
|
+
"currency": {
|
309
|
+
"end_user_description": null,
|
310
|
+
"read_only": 0,
|
311
|
+
"modified_timestamp": 1281974693,
|
312
|
+
"pub_title": "temp_points",
|
313
|
+
"currency_type_title": "Skill Points",
|
314
|
+
"currency_type_id": 9,
|
315
|
+
"exchange_rate": "1.00",
|
316
|
+
"resource_name": "currency",
|
317
|
+
"urls": [],
|
318
|
+
"created_timestamp": 1281974693,
|
319
|
+
"pub_description": null,
|
320
|
+
"end_user_title": "Temp Points",
|
321
|
+
"relative_weight": 1,
|
322
|
+
"id": 579,
|
323
|
+
"currency_type_description": ""
|
324
|
+
},
|
325
|
+
"prev_balance": "270.00",
|
326
|
+
"resource_name": "end_user_currency_balance",
|
327
|
+
"created_timestamp": 1282752987,
|
328
|
+
"pub_description": null,
|
329
|
+
"end_user_title": "Temp Points",
|
330
|
+
"end_user_login": "tester",
|
331
|
+
"curr_balance": "300.00"
|
332
|
+
}
|
333
|
+
],
|
334
|
+
{}
|
335
|
+
]
|
336
|
+
http_version: "1.1"
|
337
|
+
- !ruby/struct:VCR::HTTPInteraction
|
338
|
+
request: !ruby/struct:VCR::Request
|
339
|
+
method: :get
|
340
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767071.60&format=json&sig=aba693ef8bac37d2a6837bebd113cffb877e353af738673ccb70762217e46543
|
341
|
+
body:
|
342
|
+
headers:
|
343
|
+
connection:
|
344
|
+
- close
|
345
|
+
host:
|
346
|
+
- api.bigdoor.com
|
347
|
+
response: !ruby/struct:VCR::Response
|
348
|
+
status: !ruby/struct:VCR::ResponseStatus
|
349
|
+
code: 200
|
350
|
+
message: OK
|
351
|
+
headers:
|
352
|
+
content-type:
|
353
|
+
- application/json; charset=utf-8
|
354
|
+
connection:
|
355
|
+
- Close
|
356
|
+
date:
|
357
|
+
- Wed, 25 Aug 2010 20:11:11 GMT
|
358
|
+
server:
|
359
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
360
|
+
content-length:
|
361
|
+
- "1343"
|
362
|
+
vary:
|
363
|
+
- Authorization,Cookie
|
364
|
+
body: |-
|
365
|
+
[
|
366
|
+
[
|
367
|
+
{
|
368
|
+
"end_user_description": null,
|
369
|
+
"read_only": 0,
|
370
|
+
"modified_timestamp": 1282767045,
|
371
|
+
"pub_title": "temp_points",
|
372
|
+
"transaction_group_id": "702e26b7dfa254fd4311f656c8751225",
|
373
|
+
"adjustment_amount": "30.00",
|
374
|
+
"id": 10215423,
|
375
|
+
"currency": {
|
376
|
+
"end_user_description": null,
|
377
|
+
"read_only": 0,
|
378
|
+
"modified_timestamp": 1281974693,
|
379
|
+
"pub_title": "temp_points",
|
380
|
+
"currency_type_title": "Skill Points",
|
381
|
+
"currency_type_id": 9,
|
382
|
+
"exchange_rate": "1.00",
|
383
|
+
"resource_name": "currency",
|
384
|
+
"urls": [],
|
385
|
+
"created_timestamp": 1281974693,
|
386
|
+
"pub_description": null,
|
387
|
+
"end_user_title": "Temp Points",
|
388
|
+
"relative_weight": 1,
|
389
|
+
"id": 579,
|
390
|
+
"currency_type_description": ""
|
391
|
+
},
|
392
|
+
"prev_balance": "300.00",
|
393
|
+
"resource_name": "end_user_currency_balance",
|
394
|
+
"created_timestamp": 1282752987,
|
395
|
+
"pub_description": null,
|
396
|
+
"end_user_title": "Temp Points",
|
397
|
+
"end_user_login": "tester",
|
398
|
+
"curr_balance": "330.00"
|
399
|
+
}
|
400
|
+
],
|
401
|
+
{}
|
402
|
+
]
|
403
|
+
http_version: "1.1"
|
404
|
+
- !ruby/struct:VCR::HTTPInteraction
|
405
|
+
request: !ruby/struct:VCR::Request
|
406
|
+
method: :get
|
407
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767102.92&format=json&sig=e5042e9440b3ba0f02b6edf6cf342d6f33f69bc30ff3a40134c5ec72ade6a7a2
|
408
|
+
body:
|
409
|
+
headers:
|
410
|
+
connection:
|
411
|
+
- close
|
412
|
+
host:
|
413
|
+
- api.bigdoor.com
|
414
|
+
response: !ruby/struct:VCR::Response
|
415
|
+
status: !ruby/struct:VCR::ResponseStatus
|
416
|
+
code: 200
|
417
|
+
message: OK
|
418
|
+
headers:
|
419
|
+
connection:
|
420
|
+
- Close
|
421
|
+
content-type:
|
422
|
+
- application/json; charset=utf-8
|
423
|
+
server:
|
424
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
425
|
+
date:
|
426
|
+
- Wed, 25 Aug 2010 20:11:43 GMT
|
427
|
+
content-length:
|
428
|
+
- "1343"
|
429
|
+
vary:
|
430
|
+
- Authorization,Cookie
|
431
|
+
body: |-
|
432
|
+
[
|
433
|
+
[
|
434
|
+
{
|
435
|
+
"end_user_description": null,
|
436
|
+
"read_only": 0,
|
437
|
+
"modified_timestamp": 1282767072,
|
438
|
+
"pub_title": "temp_points",
|
439
|
+
"transaction_group_id": "11d76bb5aa2e6f957dcbbefeea1113ac",
|
440
|
+
"adjustment_amount": "30.00",
|
441
|
+
"id": 10215423,
|
442
|
+
"currency": {
|
443
|
+
"end_user_description": null,
|
444
|
+
"read_only": 0,
|
445
|
+
"modified_timestamp": 1281974693,
|
446
|
+
"pub_title": "temp_points",
|
447
|
+
"currency_type_title": "Skill Points",
|
448
|
+
"currency_type_id": 9,
|
449
|
+
"exchange_rate": "1.00",
|
450
|
+
"resource_name": "currency",
|
451
|
+
"urls": [],
|
452
|
+
"created_timestamp": 1281974693,
|
453
|
+
"pub_description": null,
|
454
|
+
"end_user_title": "Temp Points",
|
455
|
+
"relative_weight": 1,
|
456
|
+
"id": 579,
|
457
|
+
"currency_type_description": ""
|
458
|
+
},
|
459
|
+
"prev_balance": "330.00",
|
460
|
+
"resource_name": "end_user_currency_balance",
|
461
|
+
"created_timestamp": 1282752987,
|
462
|
+
"pub_description": null,
|
463
|
+
"end_user_title": "Temp Points",
|
464
|
+
"end_user_login": "tester",
|
465
|
+
"curr_balance": "360.00"
|
466
|
+
}
|
467
|
+
],
|
468
|
+
{}
|
469
|
+
]
|
470
|
+
http_version: "1.1"
|
471
|
+
- !ruby/struct:VCR::HTTPInteraction
|
472
|
+
request: !ruby/struct:VCR::Request
|
473
|
+
method: :get
|
474
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767138.05&format=json&sig=26ec81a8ffa10107f67e263a06a9efd416611d4f7a3d43d0bc7e5e8c21ff6951
|
475
|
+
body:
|
476
|
+
headers:
|
477
|
+
connection:
|
478
|
+
- close
|
479
|
+
host:
|
480
|
+
- api.bigdoor.com
|
481
|
+
response: !ruby/struct:VCR::Response
|
482
|
+
status: !ruby/struct:VCR::ResponseStatus
|
483
|
+
code: 200
|
484
|
+
message: OK
|
485
|
+
headers:
|
486
|
+
content-type:
|
487
|
+
- application/json; charset=utf-8
|
488
|
+
connection:
|
489
|
+
- Close
|
490
|
+
date:
|
491
|
+
- Wed, 25 Aug 2010 20:12:18 GMT
|
492
|
+
server:
|
493
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
494
|
+
content-length:
|
495
|
+
- "1343"
|
496
|
+
vary:
|
497
|
+
- Authorization,Cookie
|
498
|
+
body: |-
|
499
|
+
[
|
500
|
+
[
|
501
|
+
{
|
502
|
+
"end_user_description": null,
|
503
|
+
"read_only": 0,
|
504
|
+
"modified_timestamp": 1282767107,
|
505
|
+
"pub_title": "temp_points",
|
506
|
+
"transaction_group_id": "dcaa7ff6bdfee3a0bfb2704e9aa8953a",
|
507
|
+
"adjustment_amount": "30.00",
|
508
|
+
"id": 10215423,
|
509
|
+
"currency": {
|
510
|
+
"end_user_description": null,
|
511
|
+
"read_only": 0,
|
512
|
+
"modified_timestamp": 1281974693,
|
513
|
+
"pub_title": "temp_points",
|
514
|
+
"currency_type_title": "Skill Points",
|
515
|
+
"currency_type_id": 9,
|
516
|
+
"exchange_rate": "1.00",
|
517
|
+
"resource_name": "currency",
|
518
|
+
"urls": [],
|
519
|
+
"created_timestamp": 1281974693,
|
520
|
+
"pub_description": null,
|
521
|
+
"end_user_title": "Temp Points",
|
522
|
+
"relative_weight": 1,
|
523
|
+
"id": 579,
|
524
|
+
"currency_type_description": ""
|
525
|
+
},
|
526
|
+
"prev_balance": "360.00",
|
527
|
+
"resource_name": "end_user_currency_balance",
|
528
|
+
"created_timestamp": 1282752987,
|
529
|
+
"pub_description": null,
|
530
|
+
"end_user_title": "Temp Points",
|
531
|
+
"end_user_login": "tester",
|
532
|
+
"curr_balance": "390.00"
|
533
|
+
}
|
534
|
+
],
|
535
|
+
{}
|
536
|
+
]
|
537
|
+
http_version: "1.1"
|
538
|
+
- !ruby/struct:VCR::HTTPInteraction
|
539
|
+
request: !ruby/struct:VCR::Request
|
540
|
+
method: :get
|
541
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767204.98&format=json&sig=cecd1039ed9c2669d31172fb24ef9be0008016566eff6fa92fea0bd9334be253
|
542
|
+
body:
|
543
|
+
headers:
|
544
|
+
connection:
|
545
|
+
- close
|
546
|
+
host:
|
547
|
+
- api.bigdoor.com
|
548
|
+
response: !ruby/struct:VCR::Response
|
549
|
+
status: !ruby/struct:VCR::ResponseStatus
|
550
|
+
code: 200
|
551
|
+
message: OK
|
552
|
+
headers:
|
553
|
+
connection:
|
554
|
+
- Close
|
555
|
+
content-type:
|
556
|
+
- application/json; charset=utf-8
|
557
|
+
server:
|
558
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
559
|
+
date:
|
560
|
+
- Wed, 25 Aug 2010 20:13:25 GMT
|
561
|
+
content-length:
|
562
|
+
- "1343"
|
563
|
+
vary:
|
564
|
+
- Authorization,Cookie
|
565
|
+
body: |-
|
566
|
+
[
|
567
|
+
[
|
568
|
+
{
|
569
|
+
"end_user_description": null,
|
570
|
+
"read_only": 0,
|
571
|
+
"modified_timestamp": 1282767186,
|
572
|
+
"pub_title": "temp_points",
|
573
|
+
"transaction_group_id": "aac24faf35bb5a01a34daeb7e34f44c9",
|
574
|
+
"adjustment_amount": "30.00",
|
575
|
+
"id": 10215423,
|
576
|
+
"currency": {
|
577
|
+
"end_user_description": null,
|
578
|
+
"read_only": 0,
|
579
|
+
"modified_timestamp": 1281974693,
|
580
|
+
"pub_title": "temp_points",
|
581
|
+
"currency_type_title": "Skill Points",
|
582
|
+
"currency_type_id": 9,
|
583
|
+
"exchange_rate": "1.00",
|
584
|
+
"resource_name": "currency",
|
585
|
+
"urls": [],
|
586
|
+
"created_timestamp": 1281974693,
|
587
|
+
"pub_description": null,
|
588
|
+
"end_user_title": "Temp Points",
|
589
|
+
"relative_weight": 1,
|
590
|
+
"id": 579,
|
591
|
+
"currency_type_description": ""
|
592
|
+
},
|
593
|
+
"prev_balance": "390.00",
|
594
|
+
"resource_name": "end_user_currency_balance",
|
595
|
+
"created_timestamp": 1282752987,
|
596
|
+
"pub_description": null,
|
597
|
+
"end_user_title": "Temp Points",
|
598
|
+
"end_user_login": "tester",
|
599
|
+
"curr_balance": "420.00"
|
600
|
+
}
|
601
|
+
],
|
602
|
+
{}
|
603
|
+
]
|
604
|
+
http_version: "1.1"
|
605
|
+
- !ruby/struct:VCR::HTTPInteraction
|
606
|
+
request: !ruby/struct:VCR::Request
|
607
|
+
method: :get
|
608
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282767221.70&format=json&sig=59851c64eb93449ebc85485c972b580dfc236712eee502332654c86cc3527d6e
|
609
|
+
body:
|
610
|
+
headers:
|
611
|
+
connection:
|
612
|
+
- close
|
613
|
+
host:
|
614
|
+
- api.bigdoor.com
|
615
|
+
response: !ruby/struct:VCR::Response
|
616
|
+
status: !ruby/struct:VCR::ResponseStatus
|
617
|
+
code: 200
|
618
|
+
message: OK
|
619
|
+
headers:
|
620
|
+
content-type:
|
621
|
+
- application/json; charset=utf-8
|
622
|
+
connection:
|
623
|
+
- Close
|
624
|
+
date:
|
625
|
+
- Wed, 25 Aug 2010 20:13:41 GMT
|
626
|
+
server:
|
627
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
628
|
+
content-length:
|
629
|
+
- "1343"
|
630
|
+
vary:
|
631
|
+
- Authorization,Cookie
|
632
|
+
body: |-
|
633
|
+
[
|
634
|
+
[
|
635
|
+
{
|
636
|
+
"end_user_description": null,
|
637
|
+
"read_only": 0,
|
638
|
+
"modified_timestamp": 1282767205,
|
639
|
+
"pub_title": "temp_points",
|
640
|
+
"transaction_group_id": "a64891b11d76f0456eb69b5ad9c1d49c",
|
641
|
+
"adjustment_amount": "30.00",
|
642
|
+
"id": 10215423,
|
643
|
+
"currency": {
|
644
|
+
"end_user_description": null,
|
645
|
+
"read_only": 0,
|
646
|
+
"modified_timestamp": 1281974693,
|
647
|
+
"pub_title": "temp_points",
|
648
|
+
"currency_type_title": "Skill Points",
|
649
|
+
"currency_type_id": 9,
|
650
|
+
"exchange_rate": "1.00",
|
651
|
+
"resource_name": "currency",
|
652
|
+
"urls": [],
|
653
|
+
"created_timestamp": 1281974693,
|
654
|
+
"pub_description": null,
|
655
|
+
"end_user_title": "Temp Points",
|
656
|
+
"relative_weight": 1,
|
657
|
+
"id": 579,
|
658
|
+
"currency_type_description": ""
|
659
|
+
},
|
660
|
+
"prev_balance": "420.00",
|
661
|
+
"resource_name": "end_user_currency_balance",
|
662
|
+
"created_timestamp": 1282752987,
|
663
|
+
"pub_description": null,
|
664
|
+
"end_user_title": "Temp Points",
|
665
|
+
"end_user_login": "tester",
|
666
|
+
"curr_balance": "450.00"
|
667
|
+
}
|
668
|
+
],
|
669
|
+
{}
|
670
|
+
]
|
671
|
+
http_version: "1.1"
|
672
|
+
- !ruby/struct:VCR::HTTPInteraction
|
673
|
+
request: !ruby/struct:VCR::Request
|
674
|
+
method: :get
|
675
|
+
uri: http://api.bigdoor.com:80/api/publisher/0deee7386916481199b5cbc16e4800b0/end_user/tester/currency_balance?time=1282839854.21&format=json&sig=fcc6664bb9ffd1a23060c35608e34821fa5dbc75d952b08a0c4d40c375d92593
|
676
|
+
body:
|
677
|
+
headers:
|
678
|
+
connection:
|
679
|
+
- close
|
680
|
+
host:
|
681
|
+
- api.bigdoor.com
|
682
|
+
response: !ruby/struct:VCR::Response
|
683
|
+
status: !ruby/struct:VCR::ResponseStatus
|
684
|
+
code: 200
|
685
|
+
message: OK
|
686
|
+
headers:
|
687
|
+
connection:
|
688
|
+
- Close
|
689
|
+
content-type:
|
690
|
+
- application/json; charset=utf-8
|
691
|
+
server:
|
692
|
+
- Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny8 with Suhosin-Patch mod_wsgi/2.5 Python/2.5.2
|
693
|
+
date:
|
694
|
+
- Thu, 26 Aug 2010 16:24:14 GMT
|
695
|
+
content-length:
|
696
|
+
- "1343"
|
697
|
+
vary:
|
698
|
+
- Authorization,Cookie
|
699
|
+
body: |-
|
700
|
+
[
|
701
|
+
[
|
702
|
+
{
|
703
|
+
"end_user_description": null,
|
704
|
+
"read_only": 0,
|
705
|
+
"modified_timestamp": 1282767222,
|
706
|
+
"pub_title": "temp_points",
|
707
|
+
"transaction_group_id": "d64087569efdde6f93cc897d699e9f8d",
|
708
|
+
"adjustment_amount": "30.00",
|
709
|
+
"id": 10215423,
|
710
|
+
"currency": {
|
711
|
+
"end_user_description": null,
|
712
|
+
"read_only": 0,
|
713
|
+
"modified_timestamp": 1281974693,
|
714
|
+
"pub_title": "temp_points",
|
715
|
+
"currency_type_title": "Skill Points",
|
716
|
+
"currency_type_id": 9,
|
717
|
+
"exchange_rate": "1.00",
|
718
|
+
"resource_name": "currency",
|
719
|
+
"urls": [],
|
720
|
+
"created_timestamp": 1281974693,
|
721
|
+
"pub_description": null,
|
722
|
+
"end_user_title": "Temp Points",
|
723
|
+
"relative_weight": 1,
|
724
|
+
"id": 579,
|
725
|
+
"currency_type_description": ""
|
726
|
+
},
|
727
|
+
"prev_balance": "450.00",
|
728
|
+
"resource_name": "end_user_currency_balance",
|
729
|
+
"created_timestamp": 1282752987,
|
730
|
+
"pub_description": null,
|
731
|
+
"end_user_title": "Temp Points",
|
732
|
+
"end_user_login": "tester",
|
733
|
+
"curr_balance": "480.00"
|
734
|
+
}
|
735
|
+
],
|
736
|
+
{}
|
737
|
+
]
|
738
|
+
http_version: "1.1"
|