flickrie 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. data/.gitignore +1 -0
  2. data/CHANGELOG.md +13 -0
  3. data/Gemfile +0 -4
  4. data/flickrie.gemspec +2 -2
  5. data/lib/flickrie/api_methods.rb +4 -1
  6. data/lib/flickrie/license.rb +6 -1
  7. data/lib/flickrie/location.rb +29 -12
  8. data/lib/flickrie/media/exif.rb +3 -1
  9. data/lib/flickrie/media/note.rb +24 -13
  10. data/lib/flickrie/media/tag.rb +9 -6
  11. data/lib/flickrie/media/visibility.rb +8 -5
  12. data/lib/flickrie/media.rb +54 -55
  13. data/lib/flickrie/media_count.rb +8 -6
  14. data/lib/flickrie/photo.rb +48 -7
  15. data/lib/flickrie/set.rb +47 -31
  16. data/lib/flickrie/ticket.rb +8 -5
  17. data/lib/flickrie/user.rb +67 -25
  18. data/lib/flickrie/version.rb +1 -1
  19. data/lib/flickrie/video.rb +19 -11
  20. data/spec/custom_matchers.rb +51 -0
  21. data/spec/flickrie/api_methods_spec.rb +112 -31
  22. data/spec/flickrie/error_spec.rb +2 -4
  23. data/spec/flickrie/instance_spec.rb +11 -11
  24. data/spec/flickrie/media_spec.rb +74 -53
  25. data/spec/flickrie/photo_spec.rb +4 -5
  26. data/spec/flickrie/set_spec.rb +23 -12
  27. data/spec/flickrie/upload_client_spec.rb +3 -0
  28. data/spec/flickrie/user_spec.rb +31 -5
  29. data/spec/flickrie/video_spec.rb +13 -13
  30. data/spec/flickrie_spec.rb +15 -0
  31. data/spec/spec_helper.rb +13 -50
  32. data/spec/vcr_cassettes/api_methods/people/get_media_from_user.yml +108 -0
  33. data/spec/vcr_cassettes/api_methods/people/get_public_media_from_user.yml +108 -0
  34. data/spec/vcr_cassettes/api_methods/photos/add_and_remove_tags.yml +528 -0
  35. data/spec/vcr_cassettes/api_methods/photos/get_context.yml +108 -0
  36. data/spec/vcr_cassettes/api_methods/photos/get_counts.yml +108 -0
  37. data/spec/vcr_cassettes/api_methods/photos/get_exif.yml +73 -0
  38. data/spec/vcr_cassettes/api_methods/photos/get_favorites.yml +73 -0
  39. data/spec/vcr_cassettes/api_methods/photos/get_from_contacts.yml +73 -0
  40. data/spec/vcr_cassettes/api_methods/photos/get_info.yml +108 -0
  41. data/spec/vcr_cassettes/api_methods/photos/get_public_from_user_contacts.yml +73 -0
  42. data/spec/vcr_cassettes/api_methods/photos/get_sizes.yml +73 -0
  43. data/spec/vcr_cassettes/api_methods/photos/search.yml +108 -0
  44. data/spec/vcr_cassettes/api_methods/photosets/get_media.yml +108 -0
  45. data/spec/vcr_cassettes/api_methods/{replace.yml → upload/replace.yml} +16 -16
  46. data/spec/vcr_cassettes/api_methods/upload/upload.yml +82 -0
  47. data/spec/vcr_cassettes/api_methods/upload/upload_asynchronously.yml +117 -0
  48. data/spec/vcr_cassettes/error/{a_request_was_made_and_failed.yml → a_request_was_made_and_failed/be_raised.yml} +9 -9
  49. data/spec/vcr_cassettes/error/a_request_was_made_and_failed/have_code_attribute_present.yml +84 -0
  50. data/spec/vcr_cassettes/{api_methods/upload_and_delete.yml → flickrie/a_new_credential_is_filled_in/reset_the_client.yml} +113 -32
  51. data/spec/vcr_cassettes/instance/client_is_already_initialized/be_able_to_call_API_methods.yml +152 -0
  52. data/spec/vcr_cassettes/license/{get.yml → get/have_all_attributes_correctly_set.yml} +4 -4
  53. data/spec/vcr_cassettes/media/{from_contacts.yml → from_contacts/have_all_attributes_correctly_set.yml} +8 -8
  54. data/spec/vcr_cassettes/media/{from_set.yml → from_set/have_all_attributes_correctly_set.yml} +6 -6
  55. data/spec/vcr_cassettes/media/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +6 -6
  56. data/spec/vcr_cassettes/media/{get_context.yml → get_context/have_all_attributes_correctly_set.yml} +6 -6
  57. data/spec/vcr_cassettes/media/{get_exif.yml → get_exif/get_exif_correctly.yml} +8 -8
  58. data/spec/vcr_cassettes/media/get_info/have_all_attributes_correctly_set.yml +108 -0
  59. data/spec/vcr_cassettes/media/{public_from_user.yml → public_from_user/have_all_attributes_correctly_set.yml} +6 -6
  60. data/spec/vcr_cassettes/media/{search.yml → search/have_all_attributes_correctly_set.yml} +6 -6
  61. data/spec/vcr_cassettes/media_count/{get.yml → get/have_correctly_set_all_attributes.yml} +9 -9
  62. data/spec/vcr_cassettes/o_auth/{incorrect_credentials.yml → incorrect_credentials/raise_exceptions.yml} +42 -42
  63. data/spec/vcr_cassettes/photo/get_info/have_all_attributes_correctly_set.yml +38 -0
  64. data/spec/vcr_cassettes/photo/{get_sizes.yml → get_sizes/have_attributes_correctly_set.yml} +12 -12
  65. data/spec/vcr_cassettes/photo/{search.yml → search/have_all_sizes_available.yml} +6 -6
  66. data/spec/vcr_cassettes/set/{from_user.yml → from_user/have_all_attributes_correctly_set.yml} +18 -18
  67. data/spec/vcr_cassettes/set/{get_info.yml → get_info/have_all_attributes_correctly_set.yml} +36 -36
  68. data/spec/vcr_cassettes/upload_client/content_type/pass_the_content_type.yml +117 -0
  69. data/spec/vcr_cassettes/upload_client/invalid_credentials/raise_errors.yml +276 -0
  70. data/spec/vcr_cassettes/user/{find_by_username_or_email.yml → find_by_username_or_email/have_all_attributes_correctly_set.yml} +9 -9
  71. data/spec/vcr_cassettes/user/get_info/have_all_attributes_correctly_set.yml +73 -0
  72. data/spec/vcr_cassettes/video/get_info/have_all_attributes_correctly_set.yml +38 -0
  73. data/spec/vcr_cassettes/video/{get_sizes.yml → get_sizes/have_all_attributes_correctly_set.yml} +12 -12
  74. metadata +111 -74
  75. data/spec/vcr_cassettes/api_methods/asynchronous_upload.yml +0 -362
  76. data/spec/vcr_cassettes/api_methods/tag_manipulation.yml +0 -178
  77. data/spec/vcr_cassettes/instance/calling_api_methods.yml +0 -231
  78. data/spec/vcr_cassettes/media/get_info.yml +0 -108
  79. data/spec/vcr_cassettes/photo/get_info.yml +0 -38
  80. data/spec/vcr_cassettes/upload_client/content_type.yml +0 -117
  81. data/spec/vcr_cassettes/upload_client/invalid_credentials.yml +0 -208
  82. data/spec/vcr_cassettes/user/get_info.yml +0 -73
  83. data/spec/vcr_cassettes/video/get_info.yml +0 -38
@@ -0,0 +1,152 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getInfo&photo_id=6946979188
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ""
9
+ headers:
10
+ Authorization:
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="1ab1b49618c193db7360e547584dd849", oauth_signature="2ngX0ecKn0QylMM0tkTbxu69uOk%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626758", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
+ response:
13
+ status:
14
+ code: 200
15
+ message:
16
+ headers:
17
+ date:
18
+ - Mon, 21 May 2012 18:59:18 GMT
19
+ p3p:
20
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
+ cache-control:
22
+ - private
23
+ x-served-by:
24
+ - www162.flickr.mud.yahoo.com
25
+ vary:
26
+ - Accept-Encoding
27
+ content-length:
28
+ - "844"
29
+ connection:
30
+ - close
31
+ content-type:
32
+ - application/json
33
+ body:
34
+ encoding: ASCII-8BIT
35
+ string: "{\"photo\":{\"id\":\"6946979188\", \"secret\":\"25bb44852b\", \"server\":\"7049\", \"farm\":8, \"dateuploaded\":\"1334832745\", \"isfavorite\":0, \"license\":\"0\", \"safety_level\":\"0\", \"rotation\":90, \"owner\":{\"nsid\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"realname\":\"Janko Marohni\\u0107\", \"location\":\"Zagreb, Croatia\", \"iconserver\":\"5464\", \"iconfarm\":6}, \"title\":{\"_content\":\"IMG_0796\"}, \"description\":{\"_content\":\"Test\"}, \"visibility\":{\"ispublic\":1, \"isfriend\":0, \"isfamily\":0}, \"dates\":{\"posted\":\"1334832745\", \"taken\":\"2011-03-20 17:00:05\", \"takengranularity\":\"0\", \"lastupdate\":\"1337626699\"}, \"permissions\":{\"permcomment\":3, \"permaddmeta\":2}, \"views\":\"5\", \"editability\":{\"cancomment\":1, \"canaddmeta\":1}, \"publiceditability\":{\"cancomment\":1, \"canaddmeta\":0}, \"usage\":{\"candownload\":1, \"canblog\":1, \"canprint\":1, \"canshare\":0}, \"comments\":{\"_content\":\"1\"}, \"notes\":{\"note\":[{\"id\":\"72157629487842968\", \"author\":\"67131352@N04\", \"authorname\":\"Janko Marohni\\u0107\", \"x\":\"316\", \"y\":\"0\", \"w\":\"59\", \"h\":\"50\", \"_content\":\"Test\"}]}, \"people\":{\"haspeople\":0}, \"tags\":{\"tag\":[{\"id\":\"67099213-6946979188-89662\", \"author\":\"67131352@N04\", \"raw\":\"luka\", \"_content\":\"luka\", \"machine_tag\":0}]}, \"location\":{\"latitude\":45.807258, \"longitude\":15.967599, \"accuracy\":\"11\", \"context\":\"0\", \"locality\":{\"_content\":\"Zagreb\", \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"county\":{\"_content\":\"Zagreb\", \"place_id\":\"306dHrhQV7o6jm.ZUQ\", \"woeid\":\"15022257\"}, \"region\":{\"_content\":\"Grad Zagreb\", \"place_id\":\"Js1DU.pTUrpBCIKhVw\", \"woeid\":\"20070170\"}, \"country\":{\"_content\":\"Croatia\", \"place_id\":\"FunRCI5TUb6a6soTyw\", \"woeid\":\"23424843\"}, \"place_id\":\"00j4IylZV7scWik\", \"woeid\":\"851128\"}, \"geoperms\":{\"ispublic\":1, \"iscontact\":0, \"isfriend\":0, \"isfamily\":0}, \"urls\":{\"url\":[{\"type\":\"photopage\", \"_content\":\"http:\\/\\/www.flickr.com\\/photos\\/67131352@N04\\/6946979188\\/\"}]}, \"media\":\"photo\"}, \"stat\":\"ok\"}"
36
+ http_version:
37
+ recorded_at: Mon, 21 May 2012 18:59:18 GMT
38
+ - request:
39
+ method: post
40
+ uri: http://api.flickr.com/services/upload
41
+ body:
42
+ encoding: ASCII-8BIT
43
+ string: "#<Faraday::CompositeReadIO:0x007fd779d1dc30>"
44
+ headers:
45
+ Authorization:
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="67d1503691a5e85dc3135e645dd72d71", oauth_signature="ZpTJVEkWKpMVr0sYpvgM0gaKQHg%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626758", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
+ Content-Type:
48
+ - multipart/form-data;boundary=-----------RubyMultipartPost
49
+ Content-Length:
50
+ - "47086"
51
+ response:
52
+ status:
53
+ code: 200
54
+ message:
55
+ headers:
56
+ date:
57
+ - Mon, 21 May 2012 18:59:19 GMT
58
+ p3p:
59
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
60
+ connection:
61
+ - close
62
+ content-length:
63
+ - "93"
64
+ cache-control:
65
+ - private
66
+ x-served-by:
67
+ - www111.flickr.mud.yahoo.com
68
+ vary:
69
+ - Accept-Encoding
70
+ content-type:
71
+ - text/xml; charset=utf-8
72
+ body:
73
+ encoding: US-ASCII
74
+ string: |
75
+ <?xml version="1.0" encoding="utf-8" ?>
76
+ <rsp stat="ok">
77
+ <photoid>7243605002</photoid>
78
+ </rsp>
79
+
80
+ http_version:
81
+ recorded_at: Mon, 21 May 2012 18:59:30 GMT
82
+ - request:
83
+ method: post
84
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.delete&photo_id=7243605002
85
+ body:
86
+ encoding: US-ASCII
87
+ string: ""
88
+ headers:
89
+ Authorization:
90
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="cff865d779151dd3e01566914e4ee041", oauth_signature="8HK5THHgU6%2F49uLAjMkCz3rIQFY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626770", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
91
+ response:
92
+ status:
93
+ code: 200
94
+ message:
95
+ headers:
96
+ date:
97
+ - Mon, 21 May 2012 18:59:31 GMT
98
+ p3p:
99
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
100
+ cache-control:
101
+ - private
102
+ x-served-by:
103
+ - www101.flickr.mud.yahoo.com
104
+ vary:
105
+ - Accept-Encoding
106
+ content-length:
107
+ - "13"
108
+ connection:
109
+ - close
110
+ content-type:
111
+ - application/json
112
+ body:
113
+ encoding: US-ASCII
114
+ string: "{\"stat\":\"ok\"}"
115
+ http_version:
116
+ recorded_at: Mon, 21 May 2012 18:59:32 GMT
117
+ - request:
118
+ method: get
119
+ uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.test.login
120
+ body:
121
+ encoding: US-ASCII
122
+ string: ""
123
+ headers:
124
+ Authorization:
125
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="bd46acc8005200a61d1848fcd6cbf01f", oauth_signature="nvlFr6owSPQ7YSsesO%2FqiaehcHo%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626772", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
126
+ response:
127
+ status:
128
+ code: 200
129
+ message:
130
+ headers:
131
+ date:
132
+ - Mon, 21 May 2012 18:59:33 GMT
133
+ p3p:
134
+ - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
135
+ cache-control:
136
+ - private
137
+ x-served-by:
138
+ - www31.flickr.mud.yahoo.com
139
+ vary:
140
+ - Accept-Encoding
141
+ content-length:
142
+ - "100"
143
+ connection:
144
+ - close
145
+ content-type:
146
+ - application/json
147
+ body:
148
+ encoding: ASCII-8BIT
149
+ string: "{\"user\":{\"id\":\"67131352@N04\", \"username\":{\"_content\":\"Janko Marohni\\u0107\"}}, \"stat\":\"ok\"}"
150
+ http_version:
151
+ recorded_at: Mon, 21 May 2012 18:59:33 GMT
152
+ recorded_with: VCR 2.1.1
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="e15dd7bf1b9c75fe10dfe02409666d82", oauth_signature="vOj6fnwtiXcJeK76pcL0Y40dfN0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292016", oauth_token="", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="ed208fd8cfa75a6c5a11b0dcb5318420", oauth_signature="H8uKnlQGR1ffYd7CTLtDIAW%2BjLY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626773", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Thu, 17 May 2012 22:00:17 GMT
18
+ - Mon, 21 May 2012 18:59:34 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www207.flickr.mud.yahoo.com
24
+ - www18.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,5 +34,5 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"licenses\":{\"license\":[{\"id\":\"0\", \"name\":\"All Rights Reserved\", \"url\":\"\"}, {\"id\":\"4\", \"name\":\"Attribution License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by\\/2.0\\/\"}, {\"id\":\"6\", \"name\":\"Attribution-NoDerivs License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by-nd\\/2.0\\/\"}, {\"id\":\"3\", \"name\":\"Attribution-NonCommercial-NoDerivs License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by-nc-nd\\/2.0\\/\"}, {\"id\":\"2\", \"name\":\"Attribution-NonCommercial License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by-nc\\/2.0\\/\"}, {\"id\":\"1\", \"name\":\"Attribution-NonCommercial-ShareAlike License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by-nc-sa\\/2.0\\/\"}, {\"id\":\"5\", \"name\":\"Attribution-ShareAlike License\", \"url\":\"http:\\/\\/creativecommons.org\\/licenses\\/by-sa\\/2.0\\/\"}, {\"id\":\"7\", \"name\":\"No known copyright restrictions\", \"url\":\"http:\\/\\/www.flickr.com\\/commons\\/usage\\/\"}, {\"id\":\"8\", \"name\":\"United States Government Work\", \"url\":\"http:\\/\\/www.usa.gov\\/copyright.shtml\"}]}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Thu, 17 May 2012 22:00:17 GMT
37
+ recorded_at: Mon, 21 May 2012 18:59:34 GMT
38
38
  recorded_with: VCR 2.1.1
@@ -8,20 +8,20 @@ http_interactions:
8
8
  string: ""
9
9
  headers:
10
10
  Authorization:
11
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="1c22d61f32e289fe21527b376c2c8bd2", oauth_signature="lScPPuBdCjwYuuiRw84BJ0JnGmI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292027", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
11
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="d9022fa9717dc7a16906c04c4f3c56bd", oauth_signature="xGn4SdQxKlRoYgiknhQv7zEbvCY%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626799", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
12
12
  response:
13
13
  status:
14
14
  code: 200
15
15
  message:
16
16
  headers:
17
17
  date:
18
- - Thu, 17 May 2012 22:00:28 GMT
18
+ - Mon, 21 May 2012 18:59:59 GMT
19
19
  p3p:
20
20
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
21
21
  cache-control:
22
22
  - private
23
23
  x-served-by:
24
- - www120.flickr.mud.yahoo.com
24
+ - www104.flickr.mud.yahoo.com
25
25
  vary:
26
26
  - Accept-Encoding
27
27
  content-length:
@@ -34,7 +34,7 @@ http_interactions:
34
34
  encoding: ASCII-8BIT
35
35
  string: "{\"photos\":{\"photo\":[{\"id\":\"7093101501\", \"secret\":\"9337f28800\", \"server\":\"7090\", \"farm\":8, \"owner\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"title\":\"IMG_0917\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}], \"total\":2, \"page\":1, \"per_page\":10, \"pages\":1}, \"stat\":\"ok\"}"
36
36
  http_version:
37
- recorded_at: Thu, 17 May 2012 22:00:28 GMT
37
+ recorded_at: Mon, 21 May 2012 18:59:59 GMT
38
38
  - request:
39
39
  method: get
40
40
  uri: http://api.flickr.com/services/rest?format=json&nojsoncallback=1&api_key=API_KEY&method=flickr.photos.getContactsPublicPhotos&user_id=67131352%40N04&include_self=1&single_photo=1&extras=media
@@ -43,20 +43,20 @@ http_interactions:
43
43
  string: ""
44
44
  headers:
45
45
  Authorization:
46
- - OAuth oauth_consumer_key="API_KEY", oauth_nonce="a94fc1379ab20a90f872543beb5383eb", oauth_signature="SWdPKDp5CicLoT4B675HpM6BcmI%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337292028", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
46
+ - OAuth oauth_consumer_key="API_KEY", oauth_nonce="e527a2868c6ad9db26735236e2d12bb9", oauth_signature="g33PtoZ40t1TBlhUCkvZm6mADx0%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1337626799", oauth_token="ACCESS_TOKEN", oauth_version="1.0"
47
47
  response:
48
48
  status:
49
49
  code: 200
50
50
  message:
51
51
  headers:
52
52
  date:
53
- - Thu, 17 May 2012 22:00:28 GMT
53
+ - Mon, 21 May 2012 19:00:00 GMT
54
54
  p3p:
55
55
  - policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
56
56
  cache-control:
57
57
  - private
58
58
  x-served-by:
59
- - www205.flickr.mud.yahoo.com
59
+ - www142.flickr.mud.yahoo.com
60
60
  vary:
61
61
  - Accept-Encoding
62
62
  content-length:
@@ -69,5 +69,5 @@ http_interactions:
69
69
  encoding: ASCII-8BIT
70
70
  string: "{\"photos\":{\"photo\":[{\"id\":\"7093101501\", \"secret\":\"9337f28800\", \"server\":\"7090\", \"farm\":8, \"owner\":\"67131352@N04\", \"username\":\"Janko Marohni\\u0107\", \"title\":\"IMG_0917\", \"ispublic\":1, \"isfriend\":0, \"isfamily\":0, \"media\":\"photo\", \"media_status\":\"ready\"}], \"total\":2, \"page\":1, \"per_page\":10, \"pages\":1}, \"stat\":\"ok\"}"
71
71
  http_version:
72
- recorded_at: Thu, 17 May 2012 22:00:28 GMT
72
+ recorded_at: Mon, 21 May 2012 19:00:00 GMT
73
73
  recorded_with: VCR 2.1.1