storify 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/fixtures/vcr_cassettes/auth.yml +119 -0
  3. data/fixtures/vcr_cassettes/create.yml +71 -0
  4. data/fixtures/vcr_cassettes/delete.yml +63 -0
  5. data/fixtures/vcr_cassettes/edit_slug.yml +162 -0
  6. data/fixtures/vcr_cassettes/featured.yml +28991 -0
  7. data/fixtures/vcr_cassettes/latest.yml +13835 -0
  8. data/fixtures/vcr_cassettes/popular.yml +17002 -0
  9. data/fixtures/vcr_cassettes/profile.yml +86 -0
  10. data/fixtures/vcr_cassettes/profile_update.yml +238 -0
  11. data/fixtures/vcr_cassettes/publish.yml +352 -0
  12. data/fixtures/vcr_cassettes/save.yml +462 -0
  13. data/fixtures/vcr_cassettes/search.yml +4528 -0
  14. data/fixtures/vcr_cassettes/stories.yml +8505 -0
  15. data/fixtures/vcr_cassettes/story.yml +1194 -0
  16. data/fixtures/vcr_cassettes/topic.yml +31207 -0
  17. data/fixtures/vcr_cassettes/users.yml +1877 -0
  18. data/fixtures/vcr_cassettes/userstories.yml +843 -0
  19. data/lib/storify.rb +1 -1
  20. data/lib/storify/client.rb +30 -35
  21. data/lib/storify/storymeta.rb +2 -1
  22. data/lib/storify/string.rb +10 -0
  23. data/spec/client_auth_spec.rb +28 -15
  24. data/spec/client_edit_slug_spec.rb +30 -0
  25. data/spec/client_profile_spec.rb +19 -0
  26. data/spec/client_profile_update_spec.rb +57 -0
  27. data/spec/client_spec.rb +24 -237
  28. data/spec/client_stories_featured_spec.rb +28 -0
  29. data/spec/client_stories_latest_spec.rb +28 -0
  30. data/spec/client_stories_popular_spec.rb +28 -0
  31. data/spec/client_stories_search_spec.rb +29 -0
  32. data/spec/client_stories_spec.rb +28 -0
  33. data/spec/client_stories_topic_spec.rb +35 -0
  34. data/spec/client_story_create_spec.rb +40 -0
  35. data/spec/client_story_delete_spec.rb +19 -0
  36. data/spec/client_story_publish_spec.rb +74 -0
  37. data/spec/client_story_save_spec.rb +43 -0
  38. data/spec/client_story_spec.rb +46 -0
  39. data/spec/client_users_spec.rb +28 -0
  40. data/spec/client_userstories_spec.rb +32 -0
  41. data/spec/pager_spec.rb +41 -46
  42. data/spec/spec_helper.rb +41 -18
  43. data/spec/storify_spec.rb +73 -72
  44. metadata +97 -4
  45. data/spec/client_noauth_spec.rb +0 -120
@@ -0,0 +1,86 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.storify.com/v1/users/mock_username
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Server:
22
+ - cloudflare-nginx
23
+ Date:
24
+ - Wed, 25 Dec 2013 18:24:57 GMT
25
+ Content-Type:
26
+ - application/json; charset=utf-8
27
+ Transfer-Encoding:
28
+ - chunked
29
+ Connection:
30
+ - keep-alive
31
+ Set-Cookie:
32
+ - __cfduid=d5a9aed6f0d5e2cdf092d3c5ebb5db0341387995897076; expires=Mon, 23-Dec-2019
33
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
34
+ X-Powered-By:
35
+ - Express
36
+ Cache:
37
+ - MISS
38
+ Cache-Control:
39
+ - public,max-age=60
40
+ X-Varnish:
41
+ - '561578564'
42
+ Age:
43
+ - '0'
44
+ Via:
45
+ - 1.1 varnish
46
+ X-Cache:
47
+ - MISS
48
+ X-Cache-Server:
49
+ - storify-api02
50
+ Cf-Ray:
51
+ - e279234b8680418
52
+ Content-Encoding:
53
+ - gzip
54
+ body:
55
+ encoding: ASCII-8BIT
56
+ string: !binary |-
57
+ H4sIAAAAAAAAA2RTTZPaMAz9K4z3yiwBErJw23b6cemlZaaHTicjx3LWi2Ol
58
+ toFShv9eORDYj5v9JEvvPclHUZOL6KJYHUVllFiJYgZFMZ+WcrpYgtJFWWaZ
59
+ zOSDGIttQO+gRc7yEZ878AxWUNcYglhlY3EJfl8zLg3x8QfpuAePo0+uMQ7R
60
+ j0c/yVs1WnvYobUJ+EykDPITSzVEQ47frckzMRqPPoIDBRzcowwmpvJPMXar
61
+ ySTe1zTJs2L6L/+m5AdOgR1E5nTN6GS4j3vTNpzZTjpP2lisTAsNhsk8X87y
62
+ h3I5KyczxGxa6/ks13W21FhmuMzndVHURSm1zCqPEMiBtIcqtGDt/XOHDTfs
63
+ 0PPVuM2tZ4jkjT70HW8mBYzRuCYkmznSsuN8FhpqlEQbzhiOFWwjhSe2TKyi
64
+ 3+KLyJ8tRWQ17wIdhTiArDdG9K8wCa5yFJmWWGmwgSHqktE9H+O0cexsFWpP
65
+ 1l5TnoxiLEJieoFYOu0rbCUqxXKG+jdF57tHCxFV1XuBV7iBS6ETb0qiY87j
66
+ 7lk43AeLifqQrgyP6arBms2t0tuGmhKx29PeKXWNMgmnqtfgO5vRYqpZXWq/
67
+ hVP/AUu6Dm8Tz+At7ZSgg8UkTlNP9iiiiQkRX5B8Y2A8WpuWZfGISPFwxFe0
68
+ O4zsy3j06A1YcUpiLfnza/zL7cTdYrFIv+W8d3fzRbmo81QD6k3jaevSN77T
69
+ WqfX8dDhxsQXLH79Pp04YCENUKBL63me8lHsDI+h/8phK3kfzLAmN0Siv9yH
70
+ 6c7YpbQSCebCimcv/gMAAP//fFZta9swEP4vg+5T61iyUzuGMsJYYV/GYN2X
71
+ jiIUS25E/YYsJwtj/32nk2S7WVMIQXeS7k33PGewNfZ2ZWOhMUluCL2h6UO8
72
+ LmhWkDxKNuTRJsEHg31yWp5LHkhekKSgeUTSfD4nZXvBHCXzMdlwBW3cjnUN
73
+ jy+5GbUNw8klYPl1VPEGzcQFTaI8yR5dzQ9Sf993psNMdP02wPtxV6tyBZhc
74
+ 4Q3gBUsLRyXM/kOxWeeAIqme91B+GtvalLy9dwH9CNXz0ApxTvpfT8AvXAnW
75
+ w0tZrtDSciQmx8AXwGfR4u72wKRlKasHnhkh1MahlflW9M56rYAq5QzQAHnT
76
+ 1KzqNFS6m5Rtx7gAh0YNiHmv3o0gAvGziUqCEcmF1LXdQt+zV1FNa3iF2kDv
77
+ M9cl823sBRgEL5Om4b+/CGUQA7aGwN5teULmGrZ+HfgJxa9thc8GFz9jDaBj
78
+ v40NNm0ZFIiDazARjkxGwpFghvcwOQ6LPLRsugOvt+d6731qNSf/nIam1/pr
79
+ jJugWjyzU7zI07BwHdTo2EuIYTWwoefNXLwlRG0DnaHYqoDVW6Ah12N/YDLp
80
+ gyotJ/nJcWnOL2f7ZYjPYEqjNMssJt9DnD8EqbzCmA/lbIiG8Y7pXy9Df9Z+
81
+ 7/9vgOPxGIVttOeWq4Ts0iwhm10qRSxFupYiE1WW0dv0tlzvyKfhjsTxR3Fn
82
+ 7Vwl2yt6D78F+EFy8IcFEAD8C1nxsTaRd9YDWP4+IZkI6QjgHwAAAP//AwC2
83
+ l5k4bwkAAA==
84
+ http_version:
85
+ recorded_at: Wed, 25 Dec 2013 18:24:59 GMT
86
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,238 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.storify.com/v1/users/mock_user$$$$/update
6
+ body:
7
+ encoding: US-ASCII
8
+ string: user=%7B%22username%22%3A%22mock_user%24%24%24%24%22%2C%22featuredStories%22%3A%5B%5D%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - '266'
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Wed, 25 Dec 2013 18:52:46 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie:
36
+ - __cfduid=db39071990b9f309f5d6390cad6d444f61387997566187; expires=Mon, 23-Dec-2019
37
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
38
+ X-Powered-By:
39
+ - Express
40
+ Cache-Control:
41
+ - public,max-age=60
42
+ X-Varnish:
43
+ - '561593093'
44
+ Age:
45
+ - '0'
46
+ Via:
47
+ - 1.1 varnish
48
+ X-Cache:
49
+ - MISS
50
+ X-Cache-Server:
51
+ - storify-api02
52
+ Cf-Ray:
53
+ - e27baf459150418
54
+ Content-Encoding:
55
+ - gzip
56
+ body:
57
+ encoding: ASCII-8BIT
58
+ string: !binary |-
59
+ H4sIAAAAAAAAA6pWSi0qyi9SsqpWKqksSFWyUsrLL4lPyy/NS1HSUcpNLS5O
60
+ TAeJhhanFimo5+YnZ8eXApkqQKCuAFSqAFFaq6OUnJ8CVGhiYFILAAAA//8D
61
+ AAHlLjxUAAAA
62
+ http_version:
63
+ recorded_at: Wed, 25 Dec 2013 18:52:46 GMT
64
+ - request:
65
+ method: post
66
+ uri: https://api.storify.com/v1/users/storify/update
67
+ body:
68
+ encoding: US-ASCII
69
+ string: user=%7B%22username%22%3A%22storify%22%2C%22featuredStories%22%3A%5B%5D%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
70
+ headers:
71
+ Accept:
72
+ - application/json
73
+ Accept-Encoding:
74
+ - gzip, deflate
75
+ Content-Length:
76
+ - '252'
77
+ Content-Type:
78
+ - application/x-www-form-urlencoded
79
+ User-Agent:
80
+ - Ruby
81
+ response:
82
+ status:
83
+ code: 401
84
+ message: Unauthorized
85
+ headers:
86
+ Server:
87
+ - cloudflare-nginx
88
+ Date:
89
+ - Wed, 25 Dec 2013 18:52:46 GMT
90
+ Content-Type:
91
+ - application/json; charset=utf-8
92
+ Content-Length:
93
+ - '69'
94
+ Connection:
95
+ - keep-alive
96
+ Set-Cookie:
97
+ - __cfduid=d8a0d9d8e1e498f7e158a6601ce18717c1387997566548; expires=Mon, 23-Dec-2019
98
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
99
+ X-Powered-By:
100
+ - Express
101
+ Cache-Control:
102
+ - public,max-age=60
103
+ Accept-Ranges:
104
+ - bytes
105
+ X-Varnish:
106
+ - '561593098'
107
+ Age:
108
+ - '0'
109
+ Via:
110
+ - 1.1 varnish
111
+ X-Cache:
112
+ - MISS
113
+ X-Cache-Server:
114
+ - storify-api02
115
+ Cf-Ray:
116
+ - e27baf696470418
117
+ body:
118
+ encoding: UTF-8
119
+ string: '{"error":{"type":"unauthorized","message":"Unauthorized"},"code":401}'
120
+ http_version:
121
+ recorded_at: Wed, 25 Dec 2013 18:52:46 GMT
122
+ - request:
123
+ method: post
124
+ uri: https://api.storify.com/v1/users/mock_username/update
125
+ body:
126
+ encoding: US-ASCII
127
+ string: user=%7B%22_id%22%3A%2252a55317b169adf57700b0b8%22%2C%22username%22%3A%22mock_username%22%2C%22_access%22%3A0%2C%22name%22%3A%22RT%22%2C%22bio%22%3A%22Software%20Engineer%2C%20World%20Traveller%2C%20Foodie%22%2C%22location%22%3A%22%23%3CRandom%3A0x007fa155abba00%3E%22%2C%22website%22%3A%22http%3A%2F%2Ft.co%2F4051z4MdbB%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3492487927%2F2ee01cf324fc09fe70e943c55c57bfb0_reasonably_small.jpeg%22%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%22%2C%22settings%22%3A%7B%22comments%22%3A%22facebook%22%2C%22facebook_autoshare%22%3Atrue%2C%22facebook_quoteimg%22%3Atrue%2C%22facebook_post%22%3Atrue%2C%22twitter_post%22%3Atrue%2C%22ban_notify%22%3Afalse%2C%22options%22%3A%7B%22infinite_scroll%22%3Afalse%2C%22hide_stats%22%3Afalse%2C%22allow_embedding%22%3Atrue%2C%22comments%22%3Atrue%2C%22related_stories%22%3Atrue%2C%22ga%22%3Afalse%7D%2C%22notifications%22%3A%7B%22newsletter%22%3Atrue%2C%22digest%22%3Atrue%2C%22likes%22%3Atrue%2C%22comments%22%3Atrue%2C%22follower%22%3Atrue%2C%22quoted%22%3Atrue%2C%22friend_quoted%22%3Atrue%2C%22autoshare%22%3Atrue%2C%22element_comment%22%3Atrue%2C%22element_like%22%3Atrue%2C%22story_comment%22%3Atrue%2C%22story_like%22%3Atrue%7D%2C%22style%22%3A%7B%22fonts%22%3A%7B%22title%22%3A%22Georgia%2C%20Times%22%2C%22body%22%3A%22Helvetica%2C%20Arial%22%7D%2C%22colors%22%3A%7B%22text%22%3A%22%23666%22%2C%22link%22%3A%22%233676c4%22%2C%22background%22%3A%22%23fff%22%7D%2C%22typekit%22%3A%7B%7D%7D%7D%2C%22lang%22%3A%22en%22%2C%22stats%22%3A%7B%22views%22%3A0%2C%22subscriptions%22%3A0%2C%22subscribers%22%3A0%2C%22stories%22%3A2%2C%22embeds%22%3A0%7D%2C%22date%22%3A%7B%22updated%22%3A%222013-12-24T05%3A27%3A18.391Z%22%2C%22last_story%22%3A%222013-12-23T18%3A13%3A28.148Z%22%2C%22last_seen%22%3A%222013-12-24T05%3A27%3A18.218Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A23.837Z%22%7D%2C%22coverPhoto%22%3A%7B%22url%22%3A%22http%3A%2F%2Fstorify.com%2Fpublic%2Fimg%2Fcover.jpg%22%2C%22width%22%3A958%2C%22height%22%3A200%7D%2C%22canFeatureStories%22%3Afalse%2C%22featuredStories%22%3A%5B%5D%2C%22paid_plan%22%3A%22free%22%2C%22email_verified%22%3Atrue%2C%22features_enabled%22%3A%7B%22custom_embed_style%22%3Afalse%2C%22private_stories%22%3Afalse%2C%22html_for_seo%22%3Afalse%2C%22no_advertising%22%3Afalse%2C%22business_options%22%3Afalse%2C%22headerless_embed%22%3Afalse%2C%22pdf%22%3Afalse%2C%22realtime_updates%22%3Afalse%2C%22storylock%22%3Afalse%2C%22maxEditors%22%3A0%7D%2C%22agency%22%3A%7B%22isAgency%22%3Afalse%2C%22agencyInfo%22%3A%7B%22maxCustomersNum%22%3A0%2C%22customers%22%3A%5B%5D%7D%2C%22isCustomer%22%3Afalse%2C%22customerInfo%22%3A%7B%22approved%22%3Afalse%2C%22removalApproved%22%3Afalse%2C%22agencyId%22%3Anull%2C%22agencyUsername%22%3Anull%2C%22approved_at%22%3Anull%2C%22paid_plan%22%3Anull%2C%22keys%22%3A%7B%22approve%22%3Anull%2C%22remove%22%3Anull%7D%7D%7D%2C%22is_spam%22%3Afalse%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%7B%22service%22%3A%22twitter%22%2C%22username%22%3A%22mock_username%22%2C%22name%22%3A%22RT%22%2C%22date%22%3A%7B%22updated%22%3A%222013-12-09T05%3A20%3A24.477Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A24.477Z%22%7D%2C%22url%22%3A%22http%3A%2F%2Ftwitter.com%2Fmock_username%22%7D%2C%7B%22service%22%3A%22gravatar%22%2C%22avatar%22%3A%22http%3A%2F%2Fwww.gravatar.com%2Favatar%2F31b47319b4ed0ed45ed7df772646c5b1%3Fs%3D100%26d%3Dhttp%253A%252F%252Fstorify.com%252Fpublic%252Fimg%252Fdefault.avatar.png%22%7D%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
128
+ headers:
129
+ Accept:
130
+ - application/json
131
+ Accept-Encoding:
132
+ - gzip, deflate
133
+ Content-Length:
134
+ - '3594'
135
+ Content-Type:
136
+ - application/x-www-form-urlencoded
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 401
142
+ message: Unauthorized
143
+ headers:
144
+ Server:
145
+ - cloudflare-nginx
146
+ Date:
147
+ - Wed, 25 Dec 2013 18:53:00 GMT
148
+ Content-Type:
149
+ - application/json; charset=utf-8
150
+ Content-Length:
151
+ - '87'
152
+ Connection:
153
+ - keep-alive
154
+ Set-Cookie:
155
+ - __cfduid=d43eda69645d9b2e8e2988b5d664b03891387997580534; expires=Mon, 23-Dec-2019
156
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
157
+ X-Powered-By:
158
+ - Express
159
+ Cache-Control:
160
+ - public,max-age=60
161
+ Accept-Ranges:
162
+ - bytes
163
+ X-Varnish:
164
+ - '472865831'
165
+ Age:
166
+ - '0'
167
+ Via:
168
+ - 1.1 varnish
169
+ X-Cache:
170
+ - MISS
171
+ X-Cache-Server:
172
+ - storify-api03
173
+ Cf-Ray:
174
+ - e27bb4e47fc016a
175
+ body:
176
+ encoding: UTF-8
177
+ string: '{"error":{"type":"unauthorized","message":"Reserved for Business accounts"},"code":401}'
178
+ http_version:
179
+ recorded_at: Wed, 25 Dec 2013 18:53:00 GMT
180
+ - request:
181
+ method: post
182
+ uri: https://api.storify.com/v1/users/mock_username/update
183
+ body:
184
+ encoding: US-ASCII
185
+ string: user=%7B%22_id%22%3A%2252a55317b169adf57700b0b8%22%2C%22username%22%3A%22mock_username%22%2C%22_access%22%3A0%2C%22name%22%3A%22RT%22%2C%22bio%22%3A%22Software%20Engineer%2C%20World%20Traveller%2C%20Foodie%22%2C%22location%22%3A%22This%20is%20a%20new%20location%22%2C%22website%22%3A%22http%3A%2F%2Ft.co%2F4051z4MdbB%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3492487927%2F2ee01cf324fc09fe70e943c55c57bfb0_reasonably_small.jpeg%22%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%22%2C%22settings%22%3A%7B%22comments%22%3A%22facebook%22%2C%22facebook_autoshare%22%3Atrue%2C%22facebook_quoteimg%22%3Atrue%2C%22facebook_post%22%3Atrue%2C%22twitter_post%22%3Atrue%2C%22ban_notify%22%3Afalse%2C%22options%22%3A%7B%22infinite_scroll%22%3Afalse%2C%22hide_stats%22%3Afalse%2C%22allow_embedding%22%3Atrue%2C%22comments%22%3Atrue%2C%22related_stories%22%3Atrue%2C%22ga%22%3Afalse%7D%2C%22notifications%22%3A%7B%22newsletter%22%3Atrue%2C%22digest%22%3Atrue%2C%22likes%22%3Atrue%2C%22comments%22%3Atrue%2C%22follower%22%3Atrue%2C%22quoted%22%3Atrue%2C%22friend_quoted%22%3Atrue%2C%22autoshare%22%3Atrue%2C%22element_comment%22%3Atrue%2C%22element_like%22%3Atrue%2C%22story_comment%22%3Atrue%2C%22story_like%22%3Atrue%7D%2C%22style%22%3A%7B%22fonts%22%3A%7B%22title%22%3A%22Georgia%2C%20Times%22%2C%22body%22%3A%22Helvetica%2C%20Arial%22%7D%2C%22colors%22%3A%7B%22text%22%3A%22%23666%22%2C%22link%22%3A%22%233676c4%22%2C%22background%22%3A%22%23fff%22%7D%2C%22typekit%22%3A%7B%7D%7D%7D%2C%22lang%22%3A%22en%22%2C%22stats%22%3A%7B%22views%22%3A0%2C%22subscriptions%22%3A0%2C%22subscribers%22%3A0%2C%22stories%22%3A2%2C%22embeds%22%3A0%7D%2C%22date%22%3A%7B%22updated%22%3A%222013-12-24T05%3A27%3A18.391Z%22%2C%22last_story%22%3A%222013-12-23T18%3A13%3A28.148Z%22%2C%22last_seen%22%3A%222013-12-24T05%3A27%3A18.218Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A23.837Z%22%7D%2C%22coverPhoto%22%3A%7B%22url%22%3A%22http%3A%2F%2Fstorify.com%2Fpublic%2Fimg%2Fcover.jpg%22%2C%22width%22%3A958%2C%22height%22%3A200%7D%2C%22canFeatureStories%22%3Afalse%2C%22featuredStories%22%3A%5B%5D%2C%22paid_plan%22%3A%22free%22%2C%22email_verified%22%3Atrue%2C%22features_enabled%22%3A%7B%22custom_embed_style%22%3Afalse%2C%22private_stories%22%3Afalse%2C%22html_for_seo%22%3Afalse%2C%22no_advertising%22%3Afalse%2C%22business_options%22%3Afalse%2C%22headerless_embed%22%3Afalse%2C%22pdf%22%3Afalse%2C%22realtime_updates%22%3Afalse%2C%22storylock%22%3Afalse%2C%22maxEditors%22%3A0%7D%2C%22agency%22%3A%7B%22isAgency%22%3Afalse%2C%22agencyInfo%22%3A%7B%22maxCustomersNum%22%3A0%2C%22customers%22%3A%5B%5D%7D%2C%22isCustomer%22%3Afalse%2C%22customerInfo%22%3A%7B%22approved%22%3Afalse%2C%22removalApproved%22%3Afalse%2C%22agencyId%22%3Anull%2C%22agencyUsername%22%3Anull%2C%22approved_at%22%3Anull%2C%22paid_plan%22%3Anull%2C%22keys%22%3A%7B%22approve%22%3Anull%2C%22remove%22%3Anull%7D%7D%7D%2C%22is_spam%22%3Afalse%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%7B%22service%22%3A%22twitter%22%2C%22username%22%3A%22mock_username%22%2C%22name%22%3A%22RT%22%2C%22date%22%3A%7B%22updated%22%3A%222013-12-09T05%3A20%3A24.477Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A24.477Z%22%7D%2C%22url%22%3A%22http%3A%2F%2Ftwitter.com%2Fmock_username%22%7D%2C%7B%22service%22%3A%22gravatar%22%2C%22avatar%22%3A%22http%3A%2F%2Fwww.gravatar.com%2Favatar%2F31b47319b4ed0ed45ed7df772646c5b1%3Fs%3D100%26d%3Dhttp%253A%252F%252Fstorify.com%252Fpublic%252Fimg%252Fdefault.avatar.png%22%7D%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
186
+ headers:
187
+ Accept:
188
+ - application/json
189
+ Accept-Encoding:
190
+ - gzip, deflate
191
+ Content-Length:
192
+ - '3556'
193
+ Content-Type:
194
+ - application/x-www-form-urlencoded
195
+ User-Agent:
196
+ - Ruby
197
+ response:
198
+ status:
199
+ code: 401
200
+ message: Unauthorized
201
+ headers:
202
+ Server:
203
+ - cloudflare-nginx
204
+ Date:
205
+ - Thu, 26 Dec 2013 18:55:41 GMT
206
+ Content-Type:
207
+ - application/json; charset=utf-8
208
+ Content-Length:
209
+ - '69'
210
+ Connection:
211
+ - keep-alive
212
+ Set-Cookie:
213
+ - __cfduid=d74a79f83bb9ecdba128e496384e06ca81388084141039; expires=Mon, 23-Dec-2019
214
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
215
+ X-Powered-By:
216
+ - Express
217
+ Cache-Control:
218
+ - public,max-age=60
219
+ Accept-Ranges:
220
+ - bytes
221
+ X-Varnish:
222
+ - '473534468'
223
+ Age:
224
+ - '0'
225
+ Via:
226
+ - 1.1 varnish
227
+ X-Cache:
228
+ - MISS
229
+ X-Cache-Server:
230
+ - storify-api03
231
+ Cf-Ray:
232
+ - e2ffc997bb5016a
233
+ body:
234
+ encoding: UTF-8
235
+ string: '{"error":{"type":"unauthorized","message":"Unauthorized"},"code":401}'
236
+ http_version:
237
+ recorded_at: Thu, 26 Dec 2013 18:55:42 GMT
238
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,352 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://api.storify.com/v1/stories/mock_username/does-not-exist-story/publish
6
+ body:
7
+ encoding: US-ASCII
8
+ string: story=%7B%22slug%22%3A%22does-not-exist-story%22%2C%22topics%22%3A%5B%5D%2C%22siteposts%22%3A%5B%5D%2C%22author%22%3A%7B%22username%22%3A%22mock_username%22%2C%22featuredStories%22%3A%5B%5D%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D%2C%22comments%22%3A%5B%5D%2C%22elements%22%3A%5B%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ Content-Length:
15
+ - '419'
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ User-Agent:
19
+ - Ruby
20
+ response:
21
+ status:
22
+ code: 404
23
+ message: Not Found
24
+ headers:
25
+ Server:
26
+ - cloudflare-nginx
27
+ Date:
28
+ - Wed, 25 Dec 2013 23:59:39 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Connection:
34
+ - keep-alive
35
+ Set-Cookie:
36
+ - __cfduid=d10ef2682b494afd5b5ad777babadc9721388015978979; expires=Mon, 23-Dec-2019
37
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
38
+ X-Powered-By:
39
+ - Express
40
+ Cache-Control:
41
+ - public,max-age=60
42
+ X-Varnish:
43
+ - '473007211'
44
+ Age:
45
+ - '0'
46
+ Via:
47
+ - 1.1 varnish
48
+ X-Cache:
49
+ - MISS
50
+ X-Cache-Server:
51
+ - storify-api03
52
+ Cf-Ray:
53
+ - e297c7c3b230418
54
+ Content-Encoding:
55
+ - gzip
56
+ body:
57
+ encoding: ASCII-8BIT
58
+ string: !binary |-
59
+ H4sIAAAAAAAAAySLOwqAMAxAr1KydGnRoZPX8ABSbBQFjSQRlNK72+L6PhmQ
60
+ mRiGDPpeCAOcpNNC95nAwYEicW10VOLXWFbcr8hdIhRfS4/PJuqlWWsqMP9a
61
+ HMyU6hj6UD4AAAD//wMA6gen0GQAAAA=
62
+ http_version:
63
+ recorded_at: Wed, 25 Dec 2013 23:59:39 GMT
64
+ - request:
65
+ method: post
66
+ uri: https://api.storify.com/v1/stories/storify/storify-acquired-by-livefyre/publish
67
+ body:
68
+ encoding: US-ASCII
69
+ string: story=%7B%22slug%22%3A%22storify-acquired-by-livefyre%22%2C%22topics%22%3A%5B%5D%2C%22siteposts%22%3A%5B%5D%2C%22author%22%3A%7B%22username%22%3A%22storify%22%2C%22featuredStories%22%3A%5B%5D%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D%2C%22comments%22%3A%5B%5D%2C%22elements%22%3A%5B%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
70
+ headers:
71
+ Accept:
72
+ - application/json
73
+ Accept-Encoding:
74
+ - gzip, deflate
75
+ Content-Length:
76
+ - '427'
77
+ Content-Type:
78
+ - application/x-www-form-urlencoded
79
+ User-Agent:
80
+ - Ruby
81
+ response:
82
+ status:
83
+ code: 401
84
+ message: Unauthorized
85
+ headers:
86
+ Server:
87
+ - cloudflare-nginx
88
+ Date:
89
+ - Wed, 25 Dec 2013 23:59:39 GMT
90
+ Content-Type:
91
+ - application/json; charset=utf-8
92
+ Content-Length:
93
+ - '69'
94
+ Connection:
95
+ - keep-alive
96
+ Set-Cookie:
97
+ - __cfduid=d501c177a5517617ceaf33d4abd67c0301388015979366; expires=Mon, 23-Dec-2019
98
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
99
+ X-Powered-By:
100
+ - Express
101
+ Cache-Control:
102
+ - public,max-age=60
103
+ Accept-Ranges:
104
+ - bytes
105
+ X-Varnish:
106
+ - '473007212'
107
+ Age:
108
+ - '0'
109
+ Via:
110
+ - 1.1 varnish
111
+ X-Cache:
112
+ - MISS
113
+ X-Cache-Server:
114
+ - storify-api03
115
+ Cf-Ray:
116
+ - e297c7ea5ee0418
117
+ body:
118
+ encoding: UTF-8
119
+ string: '{"error":{"type":"unauthorized","message":"Unauthorized"},"code":401}'
120
+ http_version:
121
+ recorded_at: Wed, 25 Dec 2013 23:59:39 GMT
122
+ - request:
123
+ method: post
124
+ uri: https://api.storify.com/v1/stories/mock_username/test-story/publish
125
+ body:
126
+ encoding: US-ASCII
127
+ string: story=%7B%22sid%22%3A%2252a5534ab169adf57700b312%22%2C%22title%22%3A%22Test%20Story%22%2C%22slug%22%3A%22test-story%22%2C%22status%22%3A%22working%22%2C%22version%22%3A20%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%2Ftest-story%22%2C%22shortlink%22%3A%22http%3A%2F%2Fsfy.co%2FgXq0%22%2C%22description%22%3A%22Test%20Description%22%2C%22thumbnail%22%3A%22https%3A%2F%2Fi.ytimg.com%2Fvi%2FOPVWy1tFXuc%2Fhqdefault.jpg%22%2C%22date%22%3A%7B%22created%22%3A%222013-12-09T05%3A21%3A14.521Z%22%2C%22modified%22%3A%222013-12-23T18%3A07%3A48.473Z%22%2C%22published%22%3A%222013-12-23T18%3A07%3A48.473Z%22%7D%2C%22private%22%3Afalse%2C%22not_indexed%22%3Afalse%2C%22is_spam%22%3Afalse%2C%22topics%22%3A%5B%5D%2C%22siteposts%22%3A%5B%5D%2C%22meta%22%3A%7B%22quoted%22%3A%5B%7B%22username%22%3A%22fmquaglia%22%2C%22name%22%3A%22F%20M%20Quagliariello%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3479798587%2F77eee325c18f974d3974032ad28504ef_normal.png%22%2C%22source%22%3A%22twitter%22%2C%22notified_at%22%3Anull%7D%2C%7B%22username%22%3A%22warnerbrosuktrailers%22%2C%22name%22%3A%22warnerbrosuktrailers%22%2C%22source%22%3A%22youtube%22%2C%22notified_at%22%3Anull%7D%2C%7B%22username%22%3A%22Ren%C3%A9e%20S.%20Suen%22%2C%22name%22%3A%22Ren%C3%A9e%20S.%20Suen%22%2C%22avatar%22%3A%22http%3A%2F%2Ffarm6.static.flickr.com%2F5339%2Fbuddyicons%2F55421902%40N00.jpg%22%2C%22source%22%3A%22flickr%22%2C%22notified_at%22%3Anull%7D%2C%7B%22username%22%3A%22coderwall%22%2C%22name%22%3A%22coderwall%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F2308888251%2F1hok404axh6l0h6denrx_normal.png%22%2C%22source%22%3A%22twitter%22%2C%22notified_at%22%3Anull%7D%5D%2C%22hashtags%22%3A%5B%5D%2C%22created_with%22%3A%7B%22href%22%3A%22http%3A%2F%2Fstorify.com%22%2C%22appname%22%3A%22storify%22%2C%22name%22%3A%22storify%22%7D%7D%2C%22stats%22%3A%7B%22views%22%3A24%2C%22popularity%22%3A0%2C%22likes%22%3A0%2C%22embeds%22%3A%5B%7B%22clicks%22%3A0%2C%22views%22%3A24%2C%22href%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%2Ftest-story%22%2C%22domain%22%3A%22storify.com%22%7D%5D%2C%22elements%22%3A%7B%22text%22%3A0%2C%22quote%22%3A1%2C%22image%22%3A1%2C%22video%22%3A1%2C%22link%22%3A0%2C%22other%22%3A0%7D%2C%22elementComments%22%3A0%2C%22comments%22%3A0%2C%22clicks%22%3A0%7D%2C%22modified%22%3Afalse%2C%22deleted%22%3Afalse%2C%22author%22%3A%7B%22_id%22%3A%2252a55317b169adf57700b0b8%22%2C%22username%22%3A%22mock_username%22%2C%22_access%22%3A0%2C%22name%22%3A%22RT%22%2C%22bio%22%3A%22Software%20Engineer%2C%20World%20Traveller%2C%20Foodie%22%2C%22location%22%3A%22Toronto%2C%20Canada%22%2C%22website%22%3A%22http%3A%2F%2Ft.co%2F4051z4MdbB%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3492487927%2F2ee01cf324fc09fe70e943c55c57bfb0_reasonably_small.jpeg%22%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%22%2C%22settings%22%3A%7B%22comments%22%3A%22facebook%22%2C%22facebook_autoshare%22%3Atrue%2C%22facebook_quoteimg%22%3Atrue%2C%22facebook_post%22%3Atrue%2C%22twitter_post%22%3Atrue%2C%22ban_notify%22%3Afalse%2C%22options%22%3A%7B%22infinite_scroll%22%3Afalse%2C%22hide_stats%22%3Afalse%2C%22allow_embedding%22%3Atrue%2C%22comments%22%3Atrue%2C%22related_stories%22%3Atrue%2C%22ga%22%3Afalse%7D%2C%22notifications%22%3A%7B%22newsletter%22%3Atrue%2C%22digest%22%3Atrue%2C%22likes%22%3Atrue%2C%22comments%22%3Atrue%2C%22follower%22%3Atrue%2C%22quoted%22%3Atrue%2C%22friend_quoted%22%3Atrue%2C%22autoshare%22%3Atrue%2C%22element_comment%22%3Atrue%2C%22element_like%22%3Atrue%2C%22story_comment%22%3Atrue%2C%22story_like%22%3Atrue%7D%2C%22style%22%3A%7B%22fonts%22%3A%7B%22title%22%3A%22Georgia%2C%20Times%22%2C%22body%22%3A%22Helvetica%2C%20Arial%22%7D%2C%22colors%22%3A%7B%22text%22%3A%22%23666%22%2C%22link%22%3A%22%233676c4%22%2C%22background%22%3A%22%23fff%22%7D%2C%22typekit%22%3A%7B%7D%7D%7D%2C%22lang%22%3A%22en%22%2C%22stats%22%3A%7B%22views%22%3A0%2C%22subscriptions%22%3A0%2C%22subscribers%22%3A0%2C%22stories%22%3A2%2C%22embeds%22%3A0%7D%2C%22date%22%3A%7B%22updated%22%3A%222013-12-24T05%3A27%3A18.391Z%22%2C%22last_story%22%3A%222013-12-23T18%3A13%3A28.148Z%22%2C%22last_seen%22%3A%222013-12-24T05%3A27%3A18.218Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A23.837Z%22%7D%2C%22coverPhoto%22%3A%7B%22url%22%3A%22http%3A%2F%2Fstorify.com%2Fpublic%2Fimg%2Fcover.jpg%22%2C%22width%22%3A958%2C%22height%22%3A200%7D%2C%22canFeatureStories%22%3Afalse%2C%22featuredStories%22%3A%5B%5D%2C%22paid_plan%22%3A%22free%22%2C%22email_verified%22%3Atrue%2C%22features_enabled%22%3A%7B%22custom_embed_style%22%3Afalse%2C%22private_stories%22%3Afalse%2C%22html_for_seo%22%3Afalse%2C%22no_advertising%22%3Afalse%2C%22business_options%22%3Afalse%2C%22headerless_embed%22%3Afalse%2C%22pdf%22%3Afalse%2C%22realtime_updates%22%3Afalse%2C%22storylock%22%3Afalse%2C%22maxEditors%22%3A0%7D%2C%22agency%22%3A%7B%22isAgency%22%3Afalse%2C%22agencyInfo%22%3A%7B%22maxCustomersNum%22%3A0%2C%22customers%22%3A%5B%5D%7D%2C%22isCustomer%22%3Afalse%2C%22customerInfo%22%3A%7B%22approved%22%3Afalse%2C%22removalApproved%22%3Afalse%2C%22agencyId%22%3Anull%2C%22agencyUsername%22%3Anull%2C%22approved_at%22%3Anull%2C%22paid_plan%22%3Anull%2C%22keys%22%3A%7B%22approve%22%3Anull%2C%22remove%22%3Anull%7D%7D%7D%2C%22is_spam%22%3Afalse%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D%2C%22canEdit%22%3Atrue%2C%22comments%22%3A%5B%5D%2C%22elements%22%3A%5B%7B%22id%22%3A%2252a5534a02e8e36321003d4c%22%2C%22eid%22%3A%22442f0c7e1bcfcd76c45ed229%22%2C%22type%22%3A%22link%22%2C%22permalink%22%3A%22http%3A%2F%2Ftwitter.com%2Ffmquaglia%2Fstatus%2F409875377482264577%22%2C%22posted_at%22%3A%222013-12-09T02%3A41%3A19.000Z%22%2C%22data%22%3A%7B%22oembed%22%3A%7B%22type%22%3A%22rich%22%2C%22html%22%3A%22%22%2C%22thumbnail_url%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3479798587%2F77eee325c18f974d3974032ad28504ef_normal.png%22%2C%22title%22%3A%22Twitter%20%2F%20Twitter%22%2C%22provider_url%22%3A%22http%3A%2F%2Ftwitter.com%22%2C%22provider_name%22%3A%22Twitter%22%2C%22url%22%3A%22http%3A%2F%2Ftwitter.com%2Ffmquaglia%2Fstatus%2F409875377482264577%22%7D%2C%22link%22%3A%7B%22rest_api_url%22%3A%22https%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Fshow.json%3Fid%3Dundefined%22%2C%22oembed_url%22%3A%22https%3A%2F%2Fapi.twitter.com%2F1.1%2Fstatuses%2Foembed.json%3Fid%3Dundefined%22%2C%22thumbnail%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3479798587%2F77eee325c18f974d3974032ad28504ef_normal.png%22%2C%22description%22%3A%22Twitter%20%2F%20Twitter%22%2C%22title%22%3A%22Twitter%20%2F%20Twitter%22%7D%7D%2C%22source%22%3A%7B%22href%22%3A%22http%3A%2F%2Ftwitter.com%22%2C%22name%22%3A%22twitter%22%2C%22userid%22%3A%22167979837%22%2C%22username%22%3A%22fmquaglia%22%7D%2C%22attribution%22%3A%7B%22name%22%3A%22F%20M%20Quagliariello%22%2C%22username%22%3A%22fmquaglia%22%2C%22href%22%3A%22http%3A%2F%2Ftwitter.com%2Ffmquaglia%22%2C%22thumbnail%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3479798587%2F77eee325c18f974d3974032ad28504ef_normal.png%22%7D%2C%22comments%22%3A%5B%5D%2C%22stats%22%3A%7B%22likes%22%3A0%2C%22embeds%22%3A%5B%5D%2C%22comments%22%3A0%7D%7D%2C%7B%22id%22%3A%2252a5566a234ef8340202dc5c%22%2C%22eid%22%3A%22812ffa6df73e9fdb9f93775a%22%2C%22type%22%3A%22video%22%2C%22permalink%22%3A%22http%3A%2F%2Fyoutube.com%2Fwatch%3Fv%3DOPVWy1tFXuc%22%2C%22posted_at%22%3A%222013-10-01T12%3A59%3A53.000Z%22%2C%22data%22%3A%7B%22video%22%3A%7B%22src%22%3A%22%2F%2Fwww.youtube.com%2Fembed%2FOPVWy1tFXuc%3Fwmode%3Dtransparent%26showinfo%3D0%22%2C%22title%22%3A%22The%20Hobbit%3A%20The%20Desolation%20of%20Smaug%20-%20HD%20Main%20Trailer%20-%20Official%20Warner%20Bros.%20UK%22%2C%22description%22%3A%22%5C%22The%20Hobbit%3AThe%20Desolation%20of%20Smaug%5C%22%20opens%20nationwide%20across%20the%20UK%20on%2013th%20December%202013%20Facebook%20-%20http%3A%2F%2Fbit.ly%2FHobbit_UK%20Twitter%20-%20ht...%22%2C%22thumbnail%22%3A%22https%3A%2F%2Fi.ytimg.com%2Fvi%2FOPVWy1tFXuc%2Fhqdefault.jpg%22%7D%7D%2C%22source%22%3A%7B%22href%22%3A%22http%3A%2F%2Fyoutube.com%22%2C%22name%22%3A%22youtube%22%2C%22username%22%3A%22warnerbrosuktrailers%22%7D%2C%22attribution%22%3A%7B%22title%22%3A%22The%20Hobbit%3A%20The%20Desolation%20of%20Smaug%20-...%22%2C%22name%22%3A%22warnerbrosuktrailers%22%2C%22href%22%3A%22http%3A%2F%2Fyoutube.com%2Fwarnerbrosuktrailers%22%7D%2C%22comments%22%3A%5B%5D%2C%22stats%22%3A%7B%22likes%22%3A0%2C%22embeds%22%3A%5B%5D%2C%22comments%22%3A0%7D%7D%2C%7B%22id%22%3A%2252a5566a234ef8340202dc5d%22%2C%22eid%22%3A%2203a723c8b1b9ed1840008255%22%2C%22type%22%3A%22image%22%2C%22permalink%22%3A%22http%3A%2F%2Fwww.flickr.com%2Fphotos%2F55421902%40N00%2F419601171%22%2C%22posted_at%22%3A%222007-03-10T00%3A00%3A00.000Z%22%2C%22data%22%3A%7B%22image%22%3A%7B%22src%22%3A%22http%3A%2F%2Ffarm1.static.flickr.com%2F160%2F419601171_fb5fa46ea6_z.jpg%22%2C%22caption%22%3A%22Apricot%20Flambee%22%2C%22thumbnail%22%3A%22https%3A%2F%2Ffarm1.staticflickr.com%2F160%2F419601171_fb5fa46ea6_s.jpg%22%7D%7D%2C%22source%22%3A%7B%22href%22%3A%22http%3A%2F%2Fflickr.com%22%2C%22name%22%3A%22flickr%22%7D%2C%22attribution%22%3A%7B%22name%22%3A%22Ren%C3%A9e%20S.%20Suen%22%2C%22href%22%3A%22http%3A%2F%2Fwww.flickr.com%2Fphotos%2F55421902%40N00%22%2C%22thumbnail%22%3A%22http%3A%2F%2Ffarm6.static.flickr.com%2F5339%2Fbuddyicons%2F55421902%40N00.jpg%22%7D%2C%22comments%22%3A%5B%5D%2C%22stats%22%3A%7B%22likes%22%3A0%2C%22embeds%22%3A%5B%5D%2C%22comments%22%3A0%7D%7D%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
128
+ headers:
129
+ Accept:
130
+ - application/json
131
+ Accept-Encoding:
132
+ - gzip, deflate
133
+ Content-Length:
134
+ - '9557'
135
+ Content-Type:
136
+ - application/x-www-form-urlencoded
137
+ User-Agent:
138
+ - Ruby
139
+ response:
140
+ status:
141
+ code: 200
142
+ message: OK
143
+ headers:
144
+ Server:
145
+ - cloudflare-nginx
146
+ Date:
147
+ - Wed, 25 Dec 2013 23:59:40 GMT
148
+ Content-Type:
149
+ - application/json; charset=utf-8
150
+ Transfer-Encoding:
151
+ - chunked
152
+ Connection:
153
+ - keep-alive
154
+ Set-Cookie:
155
+ - __cfduid=d139edf064af4320e4f9a9eff4e6f6a2a1388015979845; expires=Mon, 23-Dec-2019
156
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
157
+ X-Powered-By:
158
+ - Express
159
+ Cache-Control:
160
+ - public,max-age=60
161
+ X-Varnish:
162
+ - '473007219'
163
+ Age:
164
+ - '0'
165
+ Via:
166
+ - 1.1 varnish
167
+ X-Cache:
168
+ - MISS
169
+ X-Cache-Server:
170
+ - storify-api03
171
+ Cf-Ray:
172
+ - e297c81cb520418
173
+ Content-Encoding:
174
+ - gzip
175
+ body:
176
+ encoding: ASCII-8BIT
177
+ string: !binary |-
178
+ H4sIAAAAAAAAA4xTy27bMBD8FYNnW6IoMbJ06qHIrc8EbdCgMChpZTOmSJlc
179
+ JjWCfFC/oz9WUnbiJkWLXARxOLuzO7u8J63RCBpJfU+c7EhNOBOc54VosrNK
180
+ dD0vS0qbPGNkTlCigkC5BIezCzR2H0Cn/DpgGLCFe8RQoHcBHX2jpNtAF8Bb
181
+ sE4aTWqWzckIdhBK6m0gbRDHOk1jsOz3SWuG1CLcjMKmz7NujMUXMRM/XV/t
182
+ aCB04ForR5xUDlW+/QMKDWz80Ggh1TGDCylkskc5rCfZW5l++Pjl6z7D8yvf
183
+ pptdB73wCpObcR3zC4RoVGsh/EWzGM3yRcYWtLqkPDRWZ0XCWfYtkAfTyV4+
184
+ YzF+yfKaV3VBk5zRyDoZ9B/aQ+BZeTup90I5mBNtcCV1Bz9i5BGTbuVGMTyd
185
+ 0YyyDVO4/h68kwijcXg8DoAidrLzZmrk+p54B1aLIc63H3ZerJUUocAjdD57
186
+ N/t0AK0EpUy4ihHTymRnZVVWy7wMoAhlCnua0Ni4BO8eDR6t6aWClRzEGlya
187
+ F1MgX5ZpWQJAznibLfuqLLo8fGjORMeWnBbQr7SJG5OMOk7CGW/bWFdIjQiW
188
+ TI5Mfq9EWGbtlXqYP2vqTlgNtrHG+S3asANhHU/9/eP2SWdvPPoGXqHzGfSv
189
+ nzC7SGYXHvRJ4S/8pVO9sMNZEp+ObJNeyXZrJ894nldp47tuL8NjdSnnBcsq
190
+ yt68p/S4mE9lHsJeUWVrOrB3Qiky/w0AAP//nFTBEoIgEP0Xz82EpE567UMa
191
+ ii0YURihsoP/3oKkNmOH4sS+gX0PdvclK9BUWloWJC3znP5aWroje1w0T7ep
192
+ 0HVGMtaLQhFRcGi7/o9yYtsKZoVj19jEcQyPeEf4ZhYdXFbtxGs3Jj4z4vO7
193
+ 38AwjMZlfS6jzU1hq7tnUhH0LgkPxGm2SZSswQYQMzdonWMACnxw+MCaE3Ab
194
+ povrhsl2Zouyvkped8CFjLOvtKfx/xLJg3IHvQvsYbaTCs02lCTs7pKDDrvR
195
+ R/GYdgI/HPMscy7tK7oJRxI3xf409gtqIWR4AQAA//8DACtNn4pGBgAA
196
+ http_version:
197
+ recorded_at: Wed, 25 Dec 2013 23:59:40 GMT
198
+ - request:
199
+ method: post
200
+ uri: https://api.storify.com/v1/stories/mock_username/no-embeds/publish
201
+ body:
202
+ encoding: US-ASCII
203
+ string: story=%7B%22sid%22%3A%2252ad2369efd89b7129009d87%22%2C%22title%22%3A%22No%20embeds%22%2C%22slug%22%3A%22no-embeds%22%2C%22status%22%3A%22working%22%2C%22version%22%3A18%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%2Fno-embeds%22%2C%22shortlink%22%3A%22http%3A%2F%2Fsfy.co%2FjY4R%22%2C%22description%22%3A%22This%20is%20a%20desc%20modification%20test%22%2C%22thumbnail%22%3A%22http%3A%2F%2Fstorify.com%2Fpublic%2Fimg%2Fdefault-thumb.gif%22%2C%22date%22%3A%7B%22created%22%3A%222013-12-15T03%3A35%3A05.697Z%22%2C%22modified%22%3A%222013-12-23T18%3A10%3A49.362Z%22%2C%22published%22%3A%222013-12-23T18%3A10%3A49.362Z%22%7D%2C%22private%22%3Afalse%2C%22not_indexed%22%3Afalse%2C%22is_spam%22%3Afalse%2C%22topics%22%3A%5B%5D%2C%22siteposts%22%3A%5B%5D%2C%22meta%22%3A%7B%22quoted%22%3A%5B%5D%2C%22hashtags%22%3A%5B%5D%2C%22created_with%22%3A%7B%22href%22%3A%22http%3A%2F%2Fstorify.com%22%2C%22appname%22%3A%22storify%22%2C%22name%22%3A%22storify%22%7D%7D%2C%22stats%22%3A%7B%22views%22%3A15%2C%22popularity%22%3A0%2C%22likes%22%3A0%2C%22embeds%22%3A%5B%7B%22clicks%22%3A0%2C%22views%22%3A15%2C%22href%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%2Fno-embeds%22%2C%22domain%22%3A%22storify.com%22%7D%5D%2C%22elements%22%3A%7B%22text%22%3A0%2C%22quote%22%3A0%2C%22image%22%3A0%2C%22video%22%3A0%2C%22link%22%3A0%2C%22other%22%3A0%7D%2C%22elementComments%22%3A0%2C%22comments%22%3A0%2C%22clicks%22%3A0%7D%2C%22modified%22%3Afalse%2C%22deleted%22%3Afalse%2C%22author%22%3A%7B%22_id%22%3A%2252a55317b169adf57700b0b8%22%2C%22username%22%3A%22mock_username%22%2C%22_access%22%3A0%2C%22name%22%3A%22RT%22%2C%22bio%22%3A%22Software%20Engineer%2C%20World%20Traveller%2C%20Foodie%22%2C%22location%22%3A%22Toronto%2C%20Canada%22%2C%22website%22%3A%22http%3A%2F%2Ft.co%2F4051z4MdbB%22%2C%22avatar%22%3A%22http%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F3492487927%2F2ee01cf324fc09fe70e943c55c57bfb0_reasonably_small.jpeg%22%2C%22permalink%22%3A%22http%3A%2F%2Fstorify.com%2Fmock_username%22%2C%22settings%22%3A%7B%22comments%22%3A%22facebook%22%2C%22facebook_autoshare%22%3Atrue%2C%22facebook_quoteimg%22%3Atrue%2C%22facebook_post%22%3Atrue%2C%22twitter_post%22%3Atrue%2C%22ban_notify%22%3Afalse%2C%22options%22%3A%7B%22infinite_scroll%22%3Afalse%2C%22hide_stats%22%3Afalse%2C%22allow_embedding%22%3Atrue%2C%22comments%22%3Atrue%2C%22related_stories%22%3Atrue%2C%22ga%22%3Afalse%7D%2C%22notifications%22%3A%7B%22newsletter%22%3Atrue%2C%22digest%22%3Atrue%2C%22likes%22%3Atrue%2C%22comments%22%3Atrue%2C%22follower%22%3Atrue%2C%22quoted%22%3Atrue%2C%22friend_quoted%22%3Atrue%2C%22autoshare%22%3Atrue%2C%22element_comment%22%3Atrue%2C%22element_like%22%3Atrue%2C%22story_comment%22%3Atrue%2C%22story_like%22%3Atrue%7D%2C%22style%22%3A%7B%22fonts%22%3A%7B%22title%22%3A%22Georgia%2C%20Times%22%2C%22body%22%3A%22Helvetica%2C%20Arial%22%7D%2C%22colors%22%3A%7B%22text%22%3A%22%23666%22%2C%22link%22%3A%22%233676c4%22%2C%22background%22%3A%22%23fff%22%7D%2C%22typekit%22%3A%7B%7D%7D%7D%2C%22lang%22%3A%22en%22%2C%22stats%22%3A%7B%22views%22%3A0%2C%22subscriptions%22%3A0%2C%22subscribers%22%3A0%2C%22stories%22%3A2%2C%22embeds%22%3A0%7D%2C%22date%22%3A%7B%22updated%22%3A%222013-12-25T23%3A59%3A40.535Z%22%2C%22last_story%22%3A%222013-12-25T23%3A59%3A40.320Z%22%2C%22last_seen%22%3A%222013-12-24T05%3A27%3A18.218Z%22%2C%22created%22%3A%222013-12-09T05%3A20%3A23.837Z%22%7D%2C%22coverPhoto%22%3A%7B%22url%22%3A%22http%3A%2F%2Fstorify.com%2Fpublic%2Fimg%2Fcover.jpg%22%2C%22width%22%3A958%2C%22height%22%3A200%7D%2C%22canFeatureStories%22%3Afalse%2C%22featuredStories%22%3A%5B%5D%2C%22paid_plan%22%3A%22free%22%2C%22email_verified%22%3Atrue%2C%22features_enabled%22%3A%7B%22custom_embed_style%22%3Afalse%2C%22private_stories%22%3Afalse%2C%22html_for_seo%22%3Afalse%2C%22no_advertising%22%3Afalse%2C%22business_options%22%3Afalse%2C%22headerless_embed%22%3Afalse%2C%22pdf%22%3Afalse%2C%22realtime_updates%22%3Afalse%2C%22storylock%22%3Afalse%2C%22maxEditors%22%3A0%7D%2C%22agency%22%3A%7B%22isAgency%22%3Afalse%2C%22agencyInfo%22%3A%7B%22maxCustomersNum%22%3A0%2C%22customers%22%3A%5B%5D%7D%2C%22isCustomer%22%3Afalse%2C%22customerInfo%22%3A%7B%22approved%22%3Afalse%2C%22removalApproved%22%3Afalse%2C%22agencyId%22%3Anull%2C%22agencyUsername%22%3Anull%2C%22approved_at%22%3Anull%2C%22paid_plan%22%3Anull%2C%22keys%22%3A%7B%22approve%22%3Anull%2C%22remove%22%3Anull%7D%7D%7D%2C%22is_spam%22%3Afalse%2C%22subscribers%22%3A%5B%5D%2C%22subscriptions%22%3A%5B%5D%2C%22identities%22%3A%5B%5D%7D%2C%22canEdit%22%3Atrue%2C%22comments%22%3A%5B%5D%2C%22elements%22%3A%5B%5D%7D&username=mock_username&api_key=mock_apikey&_token=mock__token
204
+ headers:
205
+ Accept:
206
+ - application/json
207
+ Accept-Encoding:
208
+ - gzip, deflate
209
+ Content-Length:
210
+ - '4629'
211
+ Content-Type:
212
+ - application/x-www-form-urlencoded
213
+ User-Agent:
214
+ - Ruby
215
+ response:
216
+ status:
217
+ code: 200
218
+ message: OK
219
+ headers:
220
+ Server:
221
+ - cloudflare-nginx
222
+ Date:
223
+ - Thu, 26 Dec 2013 00:00:07 GMT
224
+ Content-Type:
225
+ - application/json; charset=utf-8
226
+ Transfer-Encoding:
227
+ - chunked
228
+ Connection:
229
+ - keep-alive
230
+ Set-Cookie:
231
+ - __cfduid=d783f971f178558add6e281f05bdc6a231388016007354; expires=Mon, 23-Dec-2019
232
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
233
+ X-Powered-By:
234
+ - Express
235
+ Cache-Control:
236
+ - public,max-age=60
237
+ X-Varnish:
238
+ - '561752465'
239
+ Age:
240
+ - '0'
241
+ Via:
242
+ - 1.1 varnish
243
+ X-Cache:
244
+ - MISS
245
+ X-Cache-Server:
246
+ - storify-api02
247
+ Cf-Ray:
248
+ - e297d2dca450418
249
+ Content-Encoding:
250
+ - gzip
251
+ body:
252
+ encoding: ASCII-8BIT
253
+ string: !binary |-
254
+ H4sIAAAAAAAAA3xSy27jMAz8lUDnJH6kTmpf995DkctuUQSKRcdsLEsr0X0g
255
+ yL8vpRh5FOkCOpCjEYek5iBq0xP0JKqD8KhEJYpcqnyxLKFRj+V2leVlmpbq
256
+ cSWmgpA6YMqTmYDegvKM+W7YMdSb2QUiSYNn0A7bDn0LisF3cB5NL6qsnAoL
257
+ TssO+z2TWiJbJYkn47D5mtdGJ47gzUqX3BRtjaNvTyI9efv98MwEBb52aCmK
258
+ iHWLfsJHTgI+0UZhg7UMtxMCT2GadtDbXmJ3v4nYfJ2g3iUKGjl0NIsv5jts
259
+ gpwkCEurHXAUFpen2WKW5bOsWKeLalFUaTFflqs/TD7J37Dy5TpNq3BW84di
260
+ EViXdf2HdmSew/eo3sjOw5R3TxvsFXyGlyOGfuOt1OecjMWa/+TllVeJBNZ4
261
+ GlMNJMMkfwcTBwlYK31Lcjcyxhk3H0htYLYOmrtL4yGktb3UwSUjztg34Hg8
262
+ ecSHWtbYoZMO6UtUKdsE4YPxrJiKDvfgI8iVNXv0lEAHIfl1g51cUr0chDJa
263
+ Yn9RG9v6seW7ZrvqomYT7IPK8fWsHRsn+KQoHvcWI9RyB+MYCkyMTpblwFAL
264
+ LtS5rnltjfGnFIvQOQ9so7honqbHfwAAAP//AwAANAWJrgMAAA==
265
+ http_version:
266
+ recorded_at: Thu, 26 Dec 2013 00:00:07 GMT
267
+ - request:
268
+ method: get
269
+ uri: https://api.storify.com/v1/stories/mock_username/no-embeds?_token=mock__token&api_key=mock_apikey&page=1&per_page=20&username=mock_username
270
+ body:
271
+ encoding: US-ASCII
272
+ string: ''
273
+ headers:
274
+ Accept:
275
+ - application/json
276
+ Accept-Encoding:
277
+ - gzip, deflate
278
+ User-Agent:
279
+ - Ruby
280
+ response:
281
+ status:
282
+ code: 200
283
+ message: OK
284
+ headers:
285
+ Server:
286
+ - cloudflare-nginx
287
+ Date:
288
+ - Thu, 26 Dec 2013 00:00:07 GMT
289
+ Content-Type:
290
+ - application/json; charset=utf-8
291
+ Transfer-Encoding:
292
+ - chunked
293
+ Connection:
294
+ - keep-alive
295
+ Set-Cookie:
296
+ - __cfduid=d9c6b2b9d78a24c5cebda1f73f9af9d3b1388016007678; expires=Mon, 23-Dec-2019
297
+ 23:50:00 GMT; path=/; domain=.storify.com; HttpOnly
298
+ X-Powered-By:
299
+ - Express
300
+ Cache:
301
+ - MISS
302
+ X-Varnish:
303
+ - '473007408'
304
+ Age:
305
+ - '0'
306
+ Via:
307
+ - 1.1 varnish
308
+ X-Cache:
309
+ - MISS
310
+ X-Cache-Server:
311
+ - storify-api03
312
+ Cf-Ray:
313
+ - e297d2ff12e0418
314
+ Content-Encoding:
315
+ - gzip
316
+ body:
317
+ encoding: ASCII-8BIT
318
+ string: !binary |-
319
+ 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
350
+ http_version:
351
+ recorded_at: Thu, 26 Dec 2013 00:00:07 GMT
352
+ recorded_with: VCR 2.8.0