sqoot 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/.gitignore +18 -0
  2. data/.rspec +1 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +11 -0
  6. data/LICENSE +22 -0
  7. data/README.md +71 -0
  8. data/Rakefile +7 -0
  9. data/lib/sqoot.rb +23 -0
  10. data/lib/sqoot/category.rb +11 -0
  11. data/lib/sqoot/click.rb +14 -0
  12. data/lib/sqoot/client.rb +58 -0
  13. data/lib/sqoot/commission.rb +15 -0
  14. data/lib/sqoot/offer.rb +16 -0
  15. data/lib/sqoot/provider.rb +11 -0
  16. data/lib/sqoot/request.rb +36 -0
  17. data/lib/sqoot/response/parse_gzip.rb +27 -0
  18. data/lib/sqoot/version.rb +3 -0
  19. data/spec/cassettes/Sqoot_Category/should_return_an_array_of_categories.yml +79 -0
  20. data/spec/cassettes/Sqoot_Category/should_return_mash_list_of_categories_without_passing_any_parameters.yml +80 -0
  21. data/spec/cassettes/Sqoot_Click/should_return_an_array_of_clicks.yml +61 -0
  22. data/spec/cassettes/Sqoot_Click/should_return_mash_list_of_clicks_without_passing_any_parameters.yml +61 -0
  23. data/spec/cassettes/Sqoot_Commission/should_return_an_array_of_commissions.yml +51 -0
  24. data/spec/cassettes/Sqoot_Commission/should_return_mash_list_of_commissions_without_passing_any_parameters.yml +51 -0
  25. data/spec/cassettes/Sqoot_Offer/should_return_a_list_of_offers_given_a_location_parameter.yml +75 -0
  26. data/spec/cassettes/Sqoot_Offer/should_return_an_array_of_offers.yml +141 -0
  27. data/spec/cassettes/Sqoot_Offer/should_return_mash_list_of_offers_without_passing_any_parameters.yml +142 -0
  28. data/spec/spec_helper.rb +42 -0
  29. data/spec/sqoot/category_spec.rb +15 -0
  30. data/spec/sqoot/click_spec.rb +15 -0
  31. data/spec/sqoot/client_spec.rb +12 -0
  32. data/spec/sqoot/commission_spec.rb +15 -0
  33. data/spec/sqoot/offer_spec.rb +21 -0
  34. data/spec/sqoot/provider_spec.rb +15 -0
  35. data/spec/sqoot_spec.rb +20 -0
  36. data/sqoot.gemspec +33 -0
  37. metadata +254 -0
@@ -0,0 +1,80 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:05:42 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ transfer-encoding:
29
+ - chunked
30
+ connection:
31
+ - close
32
+ etag:
33
+ - ! '"74309e2e331a650863970752eb0878eb"'
34
+ cache-control:
35
+ - max-age=0, private, must-revalidate
36
+ x-ua-compatible:
37
+ - IE=Edge,chrome=1
38
+ x-runtime:
39
+ - '0.098479'
40
+ x-varnish:
41
+ - '209946342'
42
+ age:
43
+ - '0'
44
+ via:
45
+ - 1.1 varnish
46
+ content-encoding:
47
+ - gzip
48
+ body: !binary |-
49
+ H4sIAAAAAAAAA7yWTW+cMBCG7/0V1h5yClIWNmzTW7JJ99ZLq156qIwZWEvG
50
+ XtlmKxTlv9fQ7VLBZNoI6AUk2+/wMOP5eH7H2EpwD6WxEtzqA/sWVhh77p79
51
+ XhN2fq+FVc0rCCure+HlSfqgZFfs6QTau9V1f8wUBVj3XZha+3A8Tde3f+w6
52
+ VZetEX4xEsEvE+czL9375fpNRLU3lQkGgX0Ge5ICKKJ4gwJdbEQOsXHkFjr1
53
+ yoLnUvWHJnA/8KwhQNfvEc5soOnB3BGE5CqS2oMF56eR2Ta6O1VnlCuTNEUR
54
+ rYvEUNqD5lJLXUZalgevZAGTQI3xbMerI+XHdINRBmUkBsoespBeg5sWXvND
55
+ hR+lkgPlGql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VzHGYzmuaks
72
+ j2JQ3bxD+HQMu+Ie9aS+KBDE4PdrB8SUbVYfhw1Z8xJEebxGOC6OWnjYjWCL
73
+ Vl9iGKr1qstW0cs5W3mayCF8wh7T3Uorap+qbfienaRTNDjXJwNnufhVzUUV
74
+ qG5jFJnWhTGIm0tJ0/262FkZIDlCM6Ft4fEewTnIkiXrHQ6TZIDmQ+sCucQ2
75
+ 4kv6lk6DGfJK68B4uoXc0EMEzmGQ3jWMpSNY7yoZ5aK2//DEPWFj62KZdF6r
76
+ 8t4hZpoil9yrx44xb2rrKy4J/A/L4QoUarTo8/3p+wcAAP//AwBJ61nCtyQA
77
+ AA==
78
+ http_version: '1.1'
79
+ recorded_at: Fri, 24 Feb 2012 15:05:45 GMT
80
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:05:58 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ transfer-encoding:
29
+ - chunked
30
+ connection:
31
+ - close
32
+ etag:
33
+ - ! '"b163a0a26dc945e36af9f3be476fe202"'
34
+ cache-control:
35
+ - max-age=0, private, must-revalidate
36
+ x-ua-compatible:
37
+ - IE=Edge,chrome=1
38
+ x-runtime:
39
+ - '3.953780'
40
+ x-varnish:
41
+ - '1435561109'
42
+ age:
43
+ - '0'
44
+ via:
45
+ - 1.1 varnish
46
+ content-encoding:
47
+ - gzip
48
+ body: !binary |-
49
+ H4sIAAAAAAAAA5RT3WrbMBi971MEQ3Izt9b/H5gxyl5g5GpjBNmWG1M3SmV1
50
+ YZS8+z47tZtBnWwgBDo6R+d8+qTXm8UiiT7aNjELnvarOvgnWCQEYXKLYOA1
51
+ QmYYt0jBnKQn0TmJsDWSBnHD2Tlpbx8c0PBp4cJmBBBCAxZc7UJwoQPwFQCA
52
+ umfv4105hKDpCWt9adut72KvBeg4iMu2KR975Y+BddID3lR9NFaTkmqlC6sL
53
+ ysGwN0VIJenI8zWYbwa2JFxhNe2MsfpztjHuTZYdDoe7KVo2SLvPL7FW+fIr
54
+ Wer7paar5xcXfuerPm1s/C4P/gFYS3L/6cu3d9vYPLm/LpiusTZMGCy/JwPp
55
+ mM4WVDJROKoKORVkPy6IUi3pFU8uDVdXPKmqkBa1qBRDb568mvFkUlP0v5eY
56
+ nWTz94PpGp7UP2XVlFNkCziXvGUtnJzLyqW4lNXum7Osv/DYc1vXTdvY6DbR
57
+ P7pdzjrtd9v3pktBiFyNjz3H6HJpWBj4OZhcKY0JVVRECF1qPbZeoo9LE0wR
58
+ fKm06TsZCsdkwR1sqLr5mARiQgfghU4dgPnnzfEPAAAA//8DAETNCSk/BAAA
59
+ http_version: '1.1'
60
+ recorded_at: Fri, 24 Feb 2012 15:05:58 GMT
61
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,61 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:05:53 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ transfer-encoding:
29
+ - chunked
30
+ connection:
31
+ - close
32
+ etag:
33
+ - ! '"aa8af6b7c2ff1895d946322fb74d7272"'
34
+ cache-control:
35
+ - max-age=0, private, must-revalidate
36
+ x-ua-compatible:
37
+ - IE=Edge,chrome=1
38
+ x-runtime:
39
+ - '5.914822'
40
+ x-varnish:
41
+ - '423119733'
42
+ age:
43
+ - '0'
44
+ via:
45
+ - 1.1 varnish
46
+ content-encoding:
47
+ - gzip
48
+ body: !binary |-
49
+ H4sIAAAAAAAAA5RT22rjMBR871cEQ/JSt9bNuoFZlrI/UPLUZQmyLTembpTK
50
+ 6oal5N97bNduFupkF4RAoxnNHB3p7WqxiIILpon0Io27VeXdMywigjC5QTDw
51
+ GiHdjxskYY7iQXRKImyNhEapZuKUtDePFmh4WFi/GQGEUI95W1nvrW8BfAMA
52
+ oPbFuXBb9CFoPGCNK0yzdW3otAAde3HR1MVTp/zZswY94HXZRWMVKaiSKjcq
53
+ pykYdqYIySgeea4C803PFiSVWE47Y6zunG0Ie50kh8PhdoqW9NL222uoZLb8
54
+ QZbqbqno6uXV+j/ZqksbarfLvHsE1pLcXX+//7QN9bP964LpGivNuMbiIepJ
55
+ x3i2oILx3FKZi6kg83VBlCpBL3imQqfygieVJVK84qVk6MMzLWc8mVAU/e8l
56
+ JoNs/n4wXcOT+qesiqYUmRzOJR9ZcyvmsqaCn8tq9vVJ1t947LmpqrqpTbCb
57
+ 4J7sLmOtcrvtZ9MFJ0SsxseeYXS+NMw1/BxMLpTGuMxLwrkqlBpbL9DXpXEm
58
+ CT5X2vSdNIVjEm8PxpftfEwCMaED8EKnDsD86+r4DgAA//8DAIKrAEM/BAAA
59
+ http_version: '1.1'
60
+ recorded_at: Fri, 24 Feb 2012 15:05:53 GMT
61
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:06:01 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ connection:
29
+ - close
30
+ etag:
31
+ - ! '"40bffb368b562ed6bb78fd82c6682710"'
32
+ cache-control:
33
+ - max-age=0, private, must-revalidate
34
+ x-ua-compatible:
35
+ - IE=Edge,chrome=1
36
+ x-runtime:
37
+ - '0.020111'
38
+ content-length:
39
+ - '151'
40
+ x-varnish:
41
+ - '839847143'
42
+ age:
43
+ - '0'
44
+ via:
45
+ - 1.1 varnish
46
+ body: ! "{\n \"total\": 0,\n \"from\": \"2012-02-01T00:00:00-08:00\",\n \"to\":
47
+ \"2012-02-24T07:06:01-08:00\",\n \"total_commission_amount\": 0.0,\n \"commissions\":
48
+ [\n\n ]\n}"
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 24 Feb 2012 15:06:01 GMT
51
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:06:00 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ connection:
29
+ - close
30
+ etag:
31
+ - ! '"b0ce1d18a2f281f56f843ff7c0716894"'
32
+ cache-control:
33
+ - max-age=0, private, must-revalidate
34
+ x-ua-compatible:
35
+ - IE=Edge,chrome=1
36
+ x-runtime:
37
+ - '0.024967'
38
+ content-length:
39
+ - '151'
40
+ x-varnish:
41
+ - '839738631'
42
+ age:
43
+ - '0'
44
+ via:
45
+ - 1.1 varnish
46
+ body: ! "{\n \"total\": 0,\n \"from\": \"2012-02-01T00:00:00-08:00\",\n \"to\":
47
+ \"2012-02-24T07:06:00-08:00\",\n \"total_commission_amount\": 0.0,\n \"commissions\":
48
+ [\n\n ]\n}"
49
+ http_version: '1.1'
50
+ recorded_at: Fri, 24 Feb 2012 15:06:00 GMT
51
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,75 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:06:07 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ transfer-encoding:
29
+ - chunked
30
+ connection:
31
+ - close
32
+ etag:
33
+ - ! '"e8d4a0e7f4b91b641e695fa0b823954f"'
34
+ cache-control:
35
+ - max-age=0, private, must-revalidate
36
+ x-ua-compatible:
37
+ - IE=Edge,chrome=1
38
+ set-cookie:
39
+ - _sqoot_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNzg0MjFhNmVlMTU5MjNiZDA5NDZkNTYxM2JjMDY3ZjhJIg1sb2NhdGlvbgY7AEZvOg1Mb2NhdGlvbg06EEBhdHRyaWJ1dGVzexRJIhFwaG9uZV9udW1iZXIGOwBUMEkiCHVybAY7AFQwSSIVc3RyZWV0X2FkZHJlc3NfMQY7AFQwSSIVc3RyZWV0X2FkZHJlc3NfMgY7AFQwSSIJY2l0eQY7AFRJIhBTY2hlbmVjdGFkeQY7AFRJIgh6aXAGOwBUSSIKMTIzNDUGOwBUSSIKc3RhdGUGOwBUSSIHTlkGOwBUSSIMY291bnRyeQY7AFRJIgdVUwY7AFRJIhFuZWlnaGJvcmhvb2QGOwBUMEkiDWxhdGl0dWRlBjsAVGYaNDIuODEzMzc4OTk5OTk5OTk4ACBoSSIObG9uZ2l0dWRlBjsAVGYbLTczLjk0MTgyNjAwMDAwMDAwNgAhcUkiD2NyZWF0ZWRfYXQGOwBUMEkiD3VwZGF0ZWRfYXQGOwBUMEkiDW9mZmVyX2lkBjsAVDBJIg9mYWN0dWFsX2lkBjsAVDA6FkBhdHRyaWJ1dGVzX2NhY2hlewA6D0BwZXJzaXN0ZWRGOg5AcmVhZG9ubHlGOg9AZGVzdHJveWVkRjocQG1hcmtlZF9mb3JfZGVzdHJ1Y3Rpb25GOhhAcHJldmlvdXNseV9jaGFuZ2VkewA6GEBjaGFuZ2VkX2F0dHJpYnV0ZXN7C0kiDWxhdGl0dWRlBjsARjBJIg5sb25naXR1ZGUGOwBGMEkiCWNpdHkGOwBGMEkiCnN0YXRlBjsARjBJIgh6aXAGOwBGMEkiDGNvdW50cnkGOwBGMA%3D%3D--822b01db32b07bca51332857c6710bd49b8746e9;
40
+ domain=.sqoot.com; path=/; HttpOnly
41
+ x-runtime:
42
+ - '0.385403'
43
+ x-varnish:
44
+ - '1700158058'
45
+ age:
46
+ - '0'
47
+ via:
48
+ - 1.1 varnish
49
+ content-encoding:
50
+ - gzip
51
+ body: !binary |-
52
+ H4sIAAAAAAAAA6xWUW/bNhB+76+4ad36EsuUZMW10XUPe9nTUDQphmEoDEY6
53
+ WYQlUiGppE7Q/747KnYVO1v3oAQ2xOPdd999d6T8+Aog8sbLJlpDcsGrTm7x
54
+ 2wLt5smQBYOpKrSOln/TCuAxfB/sZD4YyKRKWufZYrkKoU9Wr3zDcNHrXMRC
55
+ gKmgMqaEn6G0Su9oYeF1mvOW9PC7aRGu/L5B+KAeHmQ0QnK1sX5zxMvFTwRW
56
+ fS+qRFdY1XllN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_at: Fri, 24 Feb 2012 15:06:07 GMT
75
+ recorded_with: VCR 2.0.0.rc1
@@ -0,0 +1,141 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: AFFILIATE_TOKEN
6
+ body: ''
7
+ headers:
8
+ authorization: AUTHENTICATION_TOKEN
9
+ accept:
10
+ - ! '*/*'
11
+ accept-encoding:
12
+ - gzip
13
+ user-agent:
14
+ - Ruby gem
15
+ connection:
16
+ - close
17
+ response:
18
+ status:
19
+ code: 200
20
+ message: OK
21
+ headers:
22
+ server:
23
+ - nginx
24
+ date:
25
+ - Fri, 24 Feb 2012 15:06:05 GMT
26
+ content-type:
27
+ - text/javascript; charset=utf-8
28
+ transfer-encoding:
29
+ - chunked
30
+ connection:
31
+ - close
32
+ etag:
33
+ - ! '"393630d47f82768e987f54c1bb404aa6"'
34
+ cache-control:
35
+ - max-age=0, private, must-revalidate
36
+ x-ua-compatible:
37
+ - IE=Edge,chrome=1
38
+ set-cookie:
39
+ - _sqoot_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlOTQzMWJlMDQwNTk1NmJjOWQwNmM2NTU4ZmY3MjJiMDlJIg1sb2NhdGlvbgY7AEZvOg1Mb2NhdGlvbg06EEBhdHRyaWJ1dGVzexRJIhFwaG9uZV9udW1iZXIGOwBUMEkiCHVybAY7AFQwSSIVc3RyZWV0X2FkZHJlc3NfMQY7AFQwSSIVc3RyZWV0X2FkZHJlc3NfMgY7AFQwSSIJY2l0eQY7AFRJIgtNYW5pbGEGOwBUSSIIemlwBjsAVDBJIgpzdGF0ZQY7AFRJIgdEOQY7AFRJIgxjb3VudHJ5BjsAVEkiB1BIBjsAVEkiEW5laWdoYm9yaG9vZAY7AFQwSSINbGF0aXR1ZGUGOwBUZhoxNC42MDQyMDAwMDAwMDAwMDEAfIVJIg5sb25naXR1ZGUGOwBUZg8xMjAuOTgyACsCSSIPY3JlYXRlZF9hdAY7AFQwSSIPdXBkYXRlZF9hdAY7AFQwSSINb2ZmZXJfaWQGOwBUMEkiD2ZhY3R1YWxfaWQGOwBUMDoWQGF0dHJpYnV0ZXNfY2FjaGV7ADoPQHBlcnNpc3RlZEY6DkByZWFkb25seUY6D0BkZXN0cm95ZWRGOhxAbWFya2VkX2Zvcl9kZXN0cnVjdGlvbkY6GEBwcmV2aW91c2x5X2NoYW5nZWR7ADoYQGNoYW5nZWRfYXR0cmlidXRlc3sKSSINbGF0aXR1ZGUGOwBGMEkiDmxvbmdpdHVkZQY7AEYwSSIJY2l0eQY7AEYwSSIKc3RhdGUGOwBGMEkiDGNvdW50cnkGOwBGMEkiHmdlb2NvZGVkX2lwX2Zvcl9sb2NhdGlvbj8GOwBGVA%3D%3D--caa4e51212f84afdab34d4cc369b23ca4335d2b6;
40
+ domain=.sqoot.com; path=/; HttpOnly
41
+ x-runtime:
42
+ - '0.807456'
43
+ x-varnish:
44
+ - '2067784635'
45
+ age:
46
+ - '0'
47
+ via:
48
+ - 1.1 varnish
49
+ content-encoding:
50
+ - gzip
51
+ body: !binary |-
52
+ H4sIAAAAAAAAA5RW224bNxB971dMjRSxAVmR5EtiJwjgOgkatL6g8VsNCBR3
53
+ VmLMJTckV7KQn+8ZUjenSdEKtlbkDudy5szZ/foT0V7ySdm9czoZHPVk3aop
54
+ YzksCw7j1Ua56+uaQ8TyL6yIvubv9T621xvYMhXWL09PX5686m13k0lW3O0N
55
+ h3RrWDNdclCN0XTp/cNCBaZPnIgWJs3oHVsz57Dc23EQZz6k8cbN6dEvhOCk
56
+ 0sbR7ybpGTt6HyO7ZJSNu+crjjqYNhnv5Pyb9u3H9DySirFruKIrJf+PtMBR
57
+ arCoOqbkKc1wCeIM4ciamsk4Uq3Xyi7hTdOMre3ThU6dsnbZwwkTSStHE0Z2
58
+ ODvpEgLAlyKr9IP4+QJbk5ak17XzJuc+fazJO7v8l7pohgQz9FyyTr5SS1RT
59
+ sbJU+0Cfu5jo2fD4rId0te0q46a4W2Dt5aquzXSG7CoOqHdJjnELjudMleGq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6NE6nsktiL
126
+ a0XOa666qFL9nul1J5NeZ2Dqf6emHlRm/6JcwkKvb/HRDwK1KEutWT3+O1eO
127
+ ctu3WRjURusTYkLVWjQ4pMDaDu4MXgfZiJotuwwvPtkql77Ov2Ucw/xUO/6C
128
+ um2qynLEioP6i+LBiUS8Z23dlr+SK1fFh3dCwK1UKfsTXRtXCim/Fln4MDfp
129
+ TYB+FWzAwCOlD0pX6qgVFl9kYSmZnbOAphansVL3do2C9mim9fu0ePwy1cl7
130
+ F7F4Le1EkkJEatrOlgWK8J3yUJdF1qS0i63i8PIGDJPGzo98ByAALFRfnHF5
131
+ 16HWkGXsxUkqJkgFtyIcjbcmRVUf264w618J6K51kjaDca87Gh6P859U1XFm
132
+ /4bKEmJN9fWT17B0DWS1ZJdHh5Z92ZWd3ptrLmljrChguTgV3Fs/U66cPtgb
133
+ tWY5NlVg+sPzwnacrOqr+5tymPFHDMvMC9htXBR77cUPvX7/JzuQqkk344BK
134
+ XfteFX0i2ejflx3aUivOMy+G+y0koWvyKYrpxq53Jo5s1/ByWZt5zWHiTfYu
135
+ vrJ/Mb7p9b6xfzE4qkJP6kXo7qhztG2x21TYti1KJPPZrsVxXLZtWuzNfwp2
136
+ Pf5qdg2qPKhx6lEZtNc/73TPe8PGMigB9AlkUJmmuV4o0zSXQWWaE8igep4T
137
+ mXUCGbQMVnMZtIxXc5FQZvoPAAD//6LKNCg81qgwDQqPOSpMg8JjjwrToCCz
138
+ qDoNCnYcib1rIBnLVQsAAAD//wMAINMPrVQtAAA=
139
+ http_version: '1.1'
140
+ recorded_at: Fri, 24 Feb 2012 15:06:05 GMT
141
+ recorded_with: VCR 2.0.0.rc1