flickrie 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. data/.gitignore +0 -1
  2. data/CHANGELOG.md +10 -0
  3. data/Gemfile +3 -2
  4. data/Rakefile +7 -2
  5. data/flickrie.gemspec +3 -0
  6. data/lib/flickrie/api_methods.rb +5 -0
  7. data/lib/flickrie/client.rb +17 -4
  8. data/lib/flickrie/location.rb +23 -50
  9. data/lib/flickrie/media/exif.rb +4 -0
  10. data/lib/flickrie/media/tag.rb +4 -0
  11. data/lib/flickrie/media/ticket.rb +4 -0
  12. data/lib/flickrie/media/visibility.rb +10 -6
  13. data/lib/flickrie/media.rb +7 -70
  14. data/lib/flickrie/media_count.rb +4 -0
  15. data/lib/flickrie/oauth.rb +5 -3
  16. data/lib/flickrie/set.rb +5 -21
  17. data/lib/flickrie/upload_client.rb +4 -2
  18. data/lib/flickrie/user.rb +4 -1
  19. data/lib/flickrie/version.rb +1 -1
  20. data/lib/flickrie/video.rb +0 -13
  21. data/test/error_test.rb +20 -0
  22. data/test/instance_test.rb +13 -14
  23. data/test/license_test.rb +7 -13
  24. data/test/location_test.rb +11 -2
  25. data/test/media_count_test.rb +20 -12
  26. data/test/media_test.rb +319 -311
  27. data/test/oauth_test.rb +17 -18
  28. data/test/photo_test.rb +78 -60
  29. data/test/set_test.rb +72 -63
  30. data/test/{test.rb → test_helper.rb} +7 -0
  31. data/test/user_test.rb +43 -34
  32. data/test/vcr_cassettes/error/code.yml +1165 -0
  33. data/test/vcr_cassettes/instance/calling_api_methods.yml +182 -0
  34. data/test/vcr_cassettes/license/get_licenses.yml +73 -0
  35. data/test/vcr_cassettes/location/square_brackets.yml +85 -0
  36. data/test/vcr_cassettes/media/delete.yml +1380 -0
  37. data/test/vcr_cassettes/media/from_contacts.yml +155 -0
  38. data/test/vcr_cassettes/media/from_set.yml +276 -0
  39. data/test/vcr_cassettes/media/from_user.yml +275 -0
  40. data/test/vcr_cassettes/media/get_context.yml +73 -0
  41. data/test/vcr_cassettes/media/get_info.yml +167 -0
  42. data/test/vcr_cassettes/media/remove_tag.yml +264 -0
  43. data/test/vcr_cassettes/media/replace.yml +2252 -0
  44. data/test/vcr_cassettes/media/search.yml +275 -0
  45. data/test/vcr_cassettes/media/tags.yml +346 -0
  46. data/test/vcr_cassettes/media_count/get.yml +135 -0
  47. data/test/vcr_cassettes/media_count/square_brackets.yml +69 -0
  48. data/test/vcr_cassettes/oauth/tokens.yml +400 -0
  49. data/test/vcr_cassettes/photo/asynchronous_upload.yml +1693 -0
  50. data/test/vcr_cassettes/photo/from_set.yml +273 -0
  51. data/test/vcr_cassettes/photo/from_user.yml +275 -0
  52. data/test/vcr_cassettes/photo/get_exif.yml +239 -0
  53. data/test/vcr_cassettes/photo/get_sizes.yml +147 -0
  54. data/test/vcr_cassettes/photo/other_api_calls.yml +506 -0
  55. data/test/vcr_cassettes/photo/search.yml +271 -0
  56. data/test/vcr_cassettes/photo/square_brackets.yml +85 -0
  57. data/test/vcr_cassettes/photo/upload.yml +1229 -0
  58. data/test/vcr_cassettes/set/from_user.yml +477 -0
  59. data/test/vcr_cassettes/set/get_info.yml +951 -0
  60. data/test/vcr_cassettes/set/square_brackets.yml +73 -0
  61. data/test/vcr_cassettes/user/find_by_email_or_username.yml +135 -0
  62. data/test/vcr_cassettes/user/get_info.yml +151 -0
  63. data/test/vcr_cassettes/user/square_brackets.yml +77 -0
  64. data/test/vcr_cassettes/video/get_exif.yml +135 -0
  65. data/test/vcr_cassettes/video/get_info.yml +86 -0
  66. data/test/vcr_cassettes/video/get_sizes.yml +151 -0
  67. data/test/vcr_cassettes/video/other_api_calls.yml +643 -0
  68. data/test/vcr_cassettes/video/square_brackets.yml +86 -0
  69. data/test/vcr_cassettes/video/upload.yml +308 -0
  70. data/test/video_test.rb +66 -53
  71. metadata +123 -12
@@ -0,0 +1,239 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getExif&nojsoncallback=1&photo_id=6946979188
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="9ee910cb2fdf87b2885d04d8d4941c13",
12
+ oauth_signature="ujRxn4kUyefJqegQMzTR9t0IRO4%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343080", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0MCBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3MTUuZmxpY2tyLm11ZC55YWhvby5jb20=
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ MjQ3Mw==
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA8Vba2/bOBb9K4Q/ZYDYlV+xnW9+ZrNIGo+dps1uFwvaom2i
65
+ sqShpDym6H9fUtSbpGQxnlkUg47uZXUuxfs4vKR/NtyD4zuN658NbDauG1ej
66
+ 3tVoMGoPh41L0PDQliCfijv9zabXG/Y7Gy4mL4hQ8cDojZhgB8mxcT2k/7eF
67
+ R0QgVU2h7dhg6bwisqYI4KbdYSPRG941rv/9s+HDvefCLaJDbxczg+liETPE
68
+ 4M9Uew9/IKa14AZZmWcCX5nV/906to9sP4Zs/Pp1Ceq83jHpa7PvjwUKgMKc
69
+ asI9EEzfBX1MLc2AFsQi9MqhWgRGBph+rYv5bYU8xwqKmN+aebkI2h4ajV9s
70
+ US0EbVEHTBfXteVZbsvz/8OWFPKLjf2sOakGxCrRImxvD8jT8De8e5/RxcwC
71
+ smcAbRM84iMCF+EgjMzf5Mgdo92+NrrXHQO0B9eGcW30a6/DdDMlS8fDbJLY
72
+ 3ucWg+lAQSmJBqdJRyBThJ7TIKfwavT5m+t4AUFstlnkWK5wge+frtROYLSM
73
+ 9gDQjAUuwoG/adi1+BwcNzSzZUwau4j4SpM6raHSoN33T6G6thW364esBfQR
74
+ rF1EP7TUhG7HMLSWAO+eEPEKgcjEICMX8YxOVwePeThbbprp9tiGVon3x0M+
75
+ 4v2V9kwJoqgVcTijhvj4z48FYrUpztF1bPpGb+rYO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LOvd1PYf+B8P7gq3BTrYSvDbr1
109
+ /Xa8kE82kpdNVGd3GL1WnGSMVzZBPcAxQTCchZfHY3KQKmTXtoGR/6OJzuck
110
+ g89o/kL8b/F9aJkJeaWk/p3JiOcyI57/BiN4nri1Q2aYt4GrwK0NEuU5iMCS
111
+ 4CMk75LjqEgDSo+l6gM+HmhpsyG2wljimZNdecogJ0OihBJl0WiU8svXP3mm
112
+ dHDtw6NbLEvhNeVQU7I70eF39+/h1UPhWPMd8CuJ50WLWcoKvWDh1mXMYLJK
113
+ SXxTXgMIegF9HYIzpd9x7xCMcr6cl4qYF/SdqD67CH3li43/CFCe3nAn4hol
114
+ v9n1Or2tYfZR3xyZm/awa6CuAUfDYXczGnR79Vnv02pG18xDuZjKCU+KplvW
115
+ Hnfc8h80RGNsE73lJs7lIFFI9kSjIWiC2XQBNtDDW7Bj5POCXX+VLEANWyT8
116
+ OrZG45rvKcArZFG/MuVMIVLqEqO6+CJ1yBtQnyFR6HZZh4X/XkDyq4aMWH4f
117
+ CVw4ltn0/HdLFnPluH/dL7xKQJPqIIZXWjjKoqzf7sh87DRQ8dZ8Clp2c743
118
+ HEh+pvHtftl84w1GxReGxRZhKpHnj/+wS9eeD9mz86Px63/O6qnlgjoAAA==
119
+ http_version:
120
+ recorded_at: Sun, 06 May 2012 22:24:41 GMT
121
+ - request:
122
+ method: get
123
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getExif&nojsoncallback=1&photo_id=6946979188
124
+ body:
125
+ encoding: US-ASCII
126
+ string: ''
127
+ headers:
128
+ Authorization:
129
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="0b74b1099d6c625d6562c964bb855210",
130
+ oauth_signature="hQlqLfnn19Nqji2z4jvtT4AnM%2Bk%3D", oauth_signature_method="HMAC-SHA1",
131
+ oauth_timestamp="1336343081", oauth_token="72157629879773565-6da848f99ba7038a",
132
+ oauth_version="1.0"
133
+ Accept-Encoding:
134
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
135
+ Accept:
136
+ - ! '*/*'
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: !binary |-
143
+ T0s=
144
+ headers:
145
+ !binary "RGF0ZQ==":
146
+ - !binary |-
147
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0MSBHTVQ=
148
+ !binary "UDNw":
149
+ - !binary |-
150
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
151
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
152
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
153
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
154
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
155
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
156
+ - !binary |-
157
+ Kg==
158
+ !binary "Q2FjaGUtQ29udHJvbA==":
159
+ - !binary |-
160
+ cHJpdmF0ZQ==
161
+ !binary "WC1TZXJ2ZWQtQnk=":
162
+ - !binary |-
163
+ d3d3NS5mbGlja3IubXVkLnlhaG9vLmNvbQ==
164
+ !binary "VmFyeQ==":
165
+ - !binary |-
166
+ QWNjZXB0LUVuY29kaW5n
167
+ !binary "Q29udGVudC1FbmNvZGluZw==":
168
+ - !binary |-
169
+ Z3ppcA==
170
+ !binary "Q29udGVudC1MZW5ndGg=":
171
+ - !binary |-
172
+ MjQ3Mw==
173
+ !binary "Q29ubmVjdGlvbg==":
174
+ - !binary |-
175
+ Y2xvc2U=
176
+ !binary "Q29udGVudC1UeXBl":
177
+ - !binary |-
178
+ YXBwbGljYXRpb24vanNvbg==
179
+ body:
180
+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SXxTXgMIegF9HYIzpd9x7xCMcr6cl4qYF/SdqD67CH3li43/CFCe3nAn4hol
232
+ v9n1Or2tYfZR3xyZm/awa6CuAUfDYXczGnR79Vnv02pG18xDuZjKCU+KplvW
233
+ Hnfc8h80RGNsE73lJs7lIFFI9kSjIWiC2XQBNtDDW7Bj5POCXX+VLEANWyT8
234
+ OrZG45rvKcArZFG/MuVMIVLqEqO6+CJ1yBtQnyFR6HZZh4X/XkDyq4aMWH4f
235
+ CVw4ltn0/HdLFnPluH/dL7xKQJPqIIZXWjjKoqzf7sh87DRQ8dZ8Clp2c743
236
+ HEh+pvHtftl84w1GxReGxRZhKpHnj/+wS9eeD9mz86Px63/O6qnlgjoAAA==
237
+ http_version:
238
+ recorded_at: Sun, 06 May 2012 22:24:42 GMT
239
+ recorded_with: VCR 2.1.1
@@ -0,0 +1,147 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getSizes&nojsoncallback=1&photo_id=6946979188
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="03f026003ec09d4ba9469a7a491527f6",
12
+ oauth_signature="xep5mD5PS9lAvYDykl9Jc9LKt4c%3D", oauth_signature_method="HMAC-SHA1",
13
+ oauth_timestamp="1336343082", oauth_token="72157629879773565-6da848f99ba7038a",
14
+ oauth_version="1.0"
15
+ Accept-Encoding:
16
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
17
+ Accept:
18
+ - ! '*/*'
19
+ User-Agent:
20
+ - Ruby
21
+ response:
22
+ status:
23
+ code: 200
24
+ message: !binary |-
25
+ T0s=
26
+ headers:
27
+ !binary "RGF0ZQ==":
28
+ - !binary |-
29
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0MiBHTVQ=
30
+ !binary "UDNw":
31
+ - !binary |-
32
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
33
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
34
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
35
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
36
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
38
+ - !binary |-
39
+ Kg==
40
+ !binary "Q2FjaGUtQ29udHJvbA==":
41
+ - !binary |-
42
+ cHJpdmF0ZQ==
43
+ !binary "WC1TZXJ2ZWQtQnk=":
44
+ - !binary |-
45
+ d3d3OTMuZmxpY2tyLm11ZC55YWhvby5jb20=
46
+ !binary "VmFyeQ==":
47
+ - !binary |-
48
+ QWNjZXB0LUVuY29kaW5n
49
+ !binary "Q29udGVudC1FbmNvZGluZw==":
50
+ - !binary |-
51
+ Z3ppcA==
52
+ !binary "Q29udGVudC1MZW5ndGg=":
53
+ - !binary |-
54
+ Mzg0
55
+ !binary "Q29ubmVjdGlvbg==":
56
+ - !binary |-
57
+ Y2xvc2U=
58
+ !binary "Q29udGVudC1UeXBl":
59
+ - !binary |-
60
+ YXBwbGljYXRpb24vanNvbg==
61
+ body:
62
+ encoding: ASCII-8BIT
63
+ string: !binary |-
64
+ H4sIAAAAAAAAA63V3W6DIBQH8FcxXC9+oqJXe4BtN93dXBr8qLKCWMWYtOm7
65
+ D7tuw25JvThXeiAc+YV/8IQGdqwGlJ5QQducyxql3oM1F13PWvVTlXJquaTl
66
+ 18C8CKVvJ8RpXnGUos1hpH2F9NTEStWgNA71e1OxulHXYpBjX+hVqFGqSzMn
67
+ c3a0F8QeFFWs2HFW7Hu7kCJzYhcnmRMlOErixCNk64d5jjEJ/Xw72B9dPX9n
68
+ 7LnZa5om2+zRNVLJQXeJvcALQv/xxcVmz8y5wPXjkDlzP1GVjOqOl4Xo/GD9
69
+ 4p5oX1fWHyLyQhcZyu8aBnqAht53vjajyFvKuImMw6XRBTQqaKO6a9wIyhc+
70
+ jywP0ceAQAGe1nVAK/BdA6lNJvE6CUNsoYntXeKznhqFeYjBTUpDwJRC+8RK
71
+ nxVh8wwRvglqBBnUI7TyuFZJXFMZuYukEsjbpoA2Fuv+HIvbNCI316mP4YTg
72
+ WeX/Ct/P8471zvSQ3KPzJ9dPw4xFCAAA
73
+ http_version:
74
+ recorded_at: Sun, 06 May 2012 22:24:42 GMT
75
+ - request:
76
+ method: get
77
+ uri: http://api.flickr.com/services/rest?api_key=1e7490875accc5b9c1ca91a2f27b5604&format=json&method=flickr.photos.getSizes&nojsoncallback=1&photo_id=6946979188
78
+ body:
79
+ encoding: US-ASCII
80
+ string: ''
81
+ headers:
82
+ Authorization:
83
+ - OAuth oauth_consumer_key="1e7490875accc5b9c1ca91a2f27b5604", oauth_nonce="8e00419fc0a973a2d88a580cf0862780",
84
+ oauth_signature="4dwLAMsTRmGkFnOi6xQQ0k0gO6g%3D", oauth_signature_method="HMAC-SHA1",
85
+ oauth_timestamp="1336343082", oauth_token="72157629879773565-6da848f99ba7038a",
86
+ oauth_version="1.0"
87
+ Accept-Encoding:
88
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
89
+ Accept:
90
+ - ! '*/*'
91
+ User-Agent:
92
+ - Ruby
93
+ response:
94
+ status:
95
+ code: 200
96
+ message: !binary |-
97
+ T0s=
98
+ headers:
99
+ !binary "RGF0ZQ==":
100
+ - !binary |-
101
+ U3VuLCAwNiBNYXkgMjAxMiAyMjoyNDo0MiBHTVQ=
102
+ !binary "UDNw":
103
+ - !binary |-
104
+ cG9saWN5cmVmPSJodHRwOi8vaW5mby55YWhvby5jb20vdzNjL3AzcC54bWwi
105
+ LCBDUD0iQ0FPIERTUCBDT1IgQ1VSIEFETSBERVYgVEFJIFBTQSBQU0QgSVZB
106
+ aSBJVkRpIENPTmkgVEVMbyBPVFBpIE9VUiBERUxpIFNBTWkgT1RSaSBVTlJp
107
+ IFBVQmkgSU5EIFBIWSBPTkwgVU5JIFBVUiBGSU4gQ09NIE5BViBJTlQgREVN
108
+ IENOVCBTVEEgUE9MIEhFQSBQUkUgTE9DIEdPViI=
109
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
110
+ - !binary |-
111
+ Kg==
112
+ !binary "Q2FjaGUtQ29udHJvbA==":
113
+ - !binary |-
114
+ cHJpdmF0ZQ==
115
+ !binary "WC1TZXJ2ZWQtQnk=":
116
+ - !binary |-
117
+ d3d3MTIxLmZsaWNrci5tdWQueWFob28uY29t
118
+ !binary "VmFyeQ==":
119
+ - !binary |-
120
+ QWNjZXB0LUVuY29kaW5n
121
+ !binary "Q29udGVudC1FbmNvZGluZw==":
122
+ - !binary |-
123
+ Z3ppcA==
124
+ !binary "Q29udGVudC1MZW5ndGg=":
125
+ - !binary |-
126
+ Mzg0
127
+ !binary "Q29ubmVjdGlvbg==":
128
+ - !binary |-
129
+ Y2xvc2U=
130
+ !binary "Q29udGVudC1UeXBl":
131
+ - !binary |-
132
+ YXBwbGljYXRpb24vanNvbg==
133
+ body:
134
+ encoding: ASCII-8BIT
135
+ string: !binary |-
136
+ H4sIAAAAAAAAA63V3W6DIBQH8FcxXC9+oqJXe4BtN93dXBr8qLKCWMWYtOm7
137
+ D7tuw25JvThXeiAc+YV/8IQGdqwGlJ5QQducyxql3oM1F13PWvVTlXJquaTl
138
+ 18C8CKVvJ8RpXnGUos1hpH2F9NTEStWgNA71e1OxulHXYpBjX+hVqFGqSzMn
139
+ c3a0F8QeFFWs2HFW7Hu7kCJzYhcnmRMlOErixCNk64d5jjEJ/Xw72B9dPX9n
140
+ 7LnZa5om2+zRNVLJQXeJvcALQv/xxcVmz8y5wPXjkDlzP1GVjOqOl4Xo/GD9
141
+ 4p5oX1fWHyLyQhcZyu8aBnqAht53vjajyFvKuImMw6XRBTQqaKO6a9wIyhc+
142
+ jywP0ceAQAGe1nVAK/BdA6lNJvE6CUNsoYntXeKznhqFeYjBTUpDwJRC+8RK
143
+ nxVh8wwRvglqBBnUI7TyuFZJXFMZuYukEsjbpoA2Fuv+HIvbNCI316mP4YTg
144
+ WeX/Ct/P8471zvSQ3KPzJ9dPw4xFCAAA
145
+ http_version:
146
+ recorded_at: Sun, 06 May 2012 22:24:43 GMT
147
+ recorded_with: VCR 2.1.1