redditkit 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +22 -0
  3. data/README.md +155 -0
  4. data/Rakefile +8 -0
  5. data/lib/redditkit.rb +26 -0
  6. data/lib/redditkit/base.rb +60 -0
  7. data/lib/redditkit/client.rb +142 -0
  8. data/lib/redditkit/client/account.rb +73 -0
  9. data/lib/redditkit/client/apps.rb +63 -0
  10. data/lib/redditkit/client/captcha.rb +36 -0
  11. data/lib/redditkit/client/comments.rb +54 -0
  12. data/lib/redditkit/client/flair.rb +148 -0
  13. data/lib/redditkit/client/links.rb +134 -0
  14. data/lib/redditkit/client/miscellaneous.rb +50 -0
  15. data/lib/redditkit/client/moderation.rb +179 -0
  16. data/lib/redditkit/client/multireddits.rb +207 -0
  17. data/lib/redditkit/client/private_messages.rb +74 -0
  18. data/lib/redditkit/client/search.rb +25 -0
  19. data/lib/redditkit/client/subreddits.rb +120 -0
  20. data/lib/redditkit/client/users.rb +109 -0
  21. data/lib/redditkit/client/utilities.rb +137 -0
  22. data/lib/redditkit/client/voting.rb +41 -0
  23. data/lib/redditkit/client/wiki.rb +83 -0
  24. data/lib/redditkit/comment.rb +54 -0
  25. data/lib/redditkit/creatable.rb +17 -0
  26. data/lib/redditkit/error.rb +111 -0
  27. data/lib/redditkit/link.rb +140 -0
  28. data/lib/redditkit/moderator_action.rb +19 -0
  29. data/lib/redditkit/multireddit.rb +32 -0
  30. data/lib/redditkit/multireddit_description.rb +14 -0
  31. data/lib/redditkit/paginated_response.rb +22 -0
  32. data/lib/redditkit/private_message.rb +27 -0
  33. data/lib/redditkit/response/parse_json.rb +29 -0
  34. data/lib/redditkit/response/raise_error.rb +21 -0
  35. data/lib/redditkit/subreddit.rb +86 -0
  36. data/lib/redditkit/thing.rb +20 -0
  37. data/lib/redditkit/user.rb +30 -0
  38. data/lib/redditkit/version.rb +19 -0
  39. data/lib/redditkit/votable.rb +37 -0
  40. data/redditkit.gemspec +25 -0
  41. data/spec/cassettes/RedditKit_Client/should_raise_an_error_with_invalid_credentials.yml +39 -0
  42. data/spec/cassettes/RedditKit_Client_Account/_sign_in/signs_the_user_in.yml +132 -0
  43. data/spec/cassettes/RedditKit_Client_Account/_update_session/updates_the_current_session.yml +133 -0
  44. data/spec/cassettes/RedditKit_Client_Captcha/_captcha_url/returns_a_CAPTCHA_url_from_an_identifier.yml +38 -0
  45. data/spec/cassettes/RedditKit_Client_Captcha/_needs_captcha_/checks_if_the_current_account_needs_a_CAPTCHA.yml +44 -0
  46. data/spec/cassettes/RedditKit_Client_Captcha/_new_captcha_identifier/returns_a_new_CAPTCHA_identifier.yml +38 -0
  47. data/spec/cassettes/RedditKit_Client_Comments/_comment/requests_the_correct_resource.yml +47 -0
  48. data/spec/cassettes/RedditKit_Client_Comments/_comments/with_a_RedditKit_Link/returns_comments_on_a_link.yml +140 -0
  49. data/spec/cassettes/RedditKit_Client_Comments/_comments/with_a_link_identifier/returns_comments_on_a_link.yml +89 -0
  50. data/spec/cassettes/RedditKit_Client_Comments/_submit_comment/requests_the_correct_resource.yml +313 -0
  51. data/spec/cassettes/RedditKit_Client_Flair/_apply_flair_template/clears_flair_templates.yml +52 -0
  52. data/spec/cassettes/RedditKit_Client_Flair/_clear_flair_templates/clears_flair_templates.yml +49 -0
  53. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/creates_a_flair_template.yml +46 -0
  54. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/raises_InvalidClassName.yml +46 -0
  55. data/spec/cassettes/RedditKit_Client_Flair/_create_flair_template/raises_TooManyClassNames.yml +47 -0
  56. data/spec/cassettes/RedditKit_Client_Flair/_delete_user_flair/requests_the_correct_resource.yml +60 -0
  57. data/spec/cassettes/RedditKit_Client_Flair/_flair_list/returns_the_list_of_flair.yml +44 -0
  58. data/spec/cassettes/RedditKit_Client_Flair/_set_flair/requests_the_correct_resource.yml +49 -0
  59. data/spec/cassettes/RedditKit_Client_Flair/_set_flair_options/sets_flair_options.yml +49 -0
  60. data/spec/cassettes/RedditKit_Client_Flair/_set_flair_with_csv/requests_the_correct_resource.yml +51 -0
  61. data/spec/cassettes/RedditKit_Client_Flair/_toggle_flair/requests_the_correct_resource.yml +49 -0
  62. data/spec/cassettes/RedditKit_Client_Links/_front_page/requests_the_correct_category.yml +498 -0
  63. data/spec/cassettes/RedditKit_Client_Links/_front_page/requests_the_correct_resource.yml +603 -0
  64. data/spec/cassettes/RedditKit_Client_Links/_hide/requests_the_correct_resource.yml +46 -0
  65. data/spec/cassettes/RedditKit_Client_Links/_link/returns_a_link.yml +55 -0
  66. data/spec/cassettes/RedditKit_Client_Links/_links/contains_pagination_information.yml +402 -0
  67. data/spec/cassettes/RedditKit_Client_Links/_links/requests_a_certain_number_of_links.yml +186 -0
  68. data/spec/cassettes/RedditKit_Client_Links/_links/requests_front_page_links_if_no_subreddit_is_present.yml +603 -0
  69. data/spec/cassettes/RedditKit_Client_Links/_links/requests_links_with_the_correct_time_frame.yml +375 -0
  70. data/spec/cassettes/RedditKit_Client_Links/_links/requests_the_correct_subreddit_and_category.yml +402 -0
  71. data/spec/cassettes/RedditKit_Client_Links/_links_with_domain/returns_links_with_a_specific_domain.yml +99 -0
  72. data/spec/cassettes/RedditKit_Client_Links/_mark_nsfw/requests_the_correct_resource.yml +46 -0
  73. data/spec/cassettes/RedditKit_Client_Links/_random_link/returns_a_random_link.yml +91 -0
  74. data/spec/cassettes/RedditKit_Client_Links/_submit/raises_RedditKit_InvalidCaptcha_if_no_CAPTCHA_is_filled_out.yml +54 -0
  75. data/spec/cassettes/RedditKit_Client_Links/_unhide/requests_the_correct_resource.yml +46 -0
  76. data/spec/cassettes/RedditKit_Client_Links/_unmark_nsfw/requests_the_correct_resource.yml +46 -0
  77. data/spec/cassettes/RedditKit_Client_Miscellaneous/_delete/requests_the_correct_resource.yml +46 -0
  78. data/spec/cassettes/RedditKit_Client_Miscellaneous/_edit/requests_the_correct_resource.yml +52 -0
  79. data/spec/cassettes/RedditKit_Client_Miscellaneous/_save/saves_an_object.yml +46 -0
  80. data/spec/cassettes/RedditKit_Client_Miscellaneous/_unsave/unsaves_an_object.yml +89 -0
  81. data/spec/cassettes/RedditKit_Client_Moderation/_accept_moderator_invitation/requests_the_correct_resource.yml +53 -0
  82. data/spec/cassettes/RedditKit_Client_Moderation/_ban/requests_the_correct_resource.yml +103 -0
  83. data/spec/cassettes/RedditKit_Client_Moderation/_contributors_to_subreddit/requests_the_correct_resource.yml +47 -0
  84. data/spec/cassettes/RedditKit_Client_Moderation/_ignore_reports/requests_the_correct_resource.yml +46 -0
  85. data/spec/cassettes/RedditKit_Client_Moderation/_moderation_log/returns_RedditKit_ModeratorAction_objects.yml +153 -0
  86. data/spec/cassettes/RedditKit_Client_Moderation/_moderators_of_subreddit/requests_the_correct_resource.yml +48 -0
  87. data/spec/cassettes/RedditKit_Client_Moderation/_reset_subreddit_header/requests_the_correct_resource.yml +55 -0
  88. data/spec/cassettes/RedditKit_Client_Moderation/_set_contest_mode/requests_the_correct_resource.yml +46 -0
  89. data/spec/cassettes/RedditKit_Client_Moderation/_set_sticky_post/requests_the_correct_resource.yml +46 -0
  90. data/spec/cassettes/RedditKit_Client_Moderation/_unban/requests_the_correct_resource.yml +54 -0
  91. data/spec/cassettes/RedditKit_Client_Moderation/_unignore_reports/requests_the_correct_resource.yml +46 -0
  92. data/spec/cassettes/RedditKit_Client_Multireddits/_add_subreddit_to_multireddit/adds_a_subreddit_to_a_multireddit.yml +177 -0
  93. data/spec/cassettes/RedditKit_Client_Multireddits/_create_multireddit/creates_a_multireddit.yml +137 -0
  94. data/spec/cassettes/RedditKit_Client_Multireddits/_create_multireddit/raises_RedditKit_Conflict_when_using_an_existing_name.yml +133 -0
  95. data/spec/cassettes/RedditKit_Client_Multireddits/_delete_multireddit/deletes_a_multireddit.yml +134 -0
  96. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit/with_a_path/returns_a_multireddit.yml +39 -0
  97. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit/without_a_path/returns_a_multireddit.yml +39 -0
  98. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_multireddit/returns_a_multireddit_description.yml +81 -0
  99. data/spec/cassettes/RedditKit_Client_Multireddits/_multireddit_description/with_a_username_and_multireddit_name/returns_a_multireddit_description.yml +45 -0
  100. data/spec/cassettes/RedditKit_Client_Multireddits/_my_multireddits/return_s_the_user_s_multireddits.yml +47 -0
  101. data/spec/cassettes/RedditKit_Client_Multireddits/_remove_subreddit_from_multireddit/removes_a_subreddit_from_a_multireddit.yml +175 -0
  102. data/spec/cassettes/RedditKit_Client_Multireddits/_rename_multireddit/renames_a_multireddit.yml +134 -0
  103. data/spec/cassettes/RedditKit_Client_Multireddits/_set_multireddit_description/returns_a_multireddit_description.yml +48 -0
  104. data/spec/cassettes/RedditKit_Client_Multireddits/_update_multireddit/updates_a_multireddit.yml +184 -0
  105. data/spec/cassettes/RedditKit_Client_PrivateMessages/_block_author_of_message/requests_the_correct_resource.yml +46 -0
  106. data/spec/cassettes/RedditKit_Client_PrivateMessages/_mark_as_read/requests_the_correct_resource.yml +51 -0
  107. data/spec/cassettes/RedditKit_Client_PrivateMessages/_mark_as_unread/requests_the_correct_resource.yml +51 -0
  108. data/spec/cassettes/RedditKit_Client_PrivateMessages/_messages/requests_the_correct_resource.yml +187 -0
  109. data/spec/cassettes/RedditKit_Client_PrivateMessages/_unblock/requests_the_correct_resource.yml +46 -0
  110. data/spec/cassettes/RedditKit_Client_Search/_search/restricts_searches_to_a_specific_subreddit.yml +878 -0
  111. data/spec/cassettes/RedditKit_Client_Search/_search/returns_a_specific_number_of_results.yml +130 -0
  112. data/spec/cassettes/RedditKit_Client_Search/_search/returns_search_results.yml +844 -0
  113. data/spec/cassettes/RedditKit_Client_Subreddits/_random_subreddit/returns_a_random_subreddit.yml +181 -0
  114. data/spec/cassettes/RedditKit_Client_Subreddits/_recommended_subreddits/returns_subreddit_names.yml +37 -0
  115. data/spec/cassettes/RedditKit_Client_Subreddits/_search_subreddits_by_name/returns_subreddit_names.yml +875 -0
  116. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddit/returns_a_specified_subreddit.yml +100 -0
  117. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits/returns_a_specified_number_of_subreddits.yml +505 -0
  118. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits/returns_subreddits_from_a_specific_category.yml +510 -0
  119. data/spec/cassettes/RedditKit_Client_Subreddits/_subreddits_by_topic/returns_subreddit_names.yml +41 -0
  120. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribe/requests_the_correct_resource.yml +46 -0
  121. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_a_specified_number_of_subreddits.yml +415 -0
  122. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_subreddits_from_a_specific_category.yml +58 -0
  123. data/spec/cassettes/RedditKit_Client_Subreddits/_subscribed_subreddits/returns_the_user_s_subscribed_subreddits.yml +3469 -0
  124. data/spec/cassettes/RedditKit_Client_Subreddits/_unsubscribe/requests_the_correct_resource.yml +46 -0
  125. data/spec/cassettes/RedditKit_Client_Users/_friends/returns_the_user_s_friends.yml +48 -0
  126. data/spec/cassettes/RedditKit_Client_Users/_my_content/returns_the_user_s_content.yml +60 -0
  127. data/spec/cassettes/RedditKit_Client_Users/_user/requests_the_correct_resource.yml +48 -0
  128. data/spec/cassettes/RedditKit_Client_Users/_user/returns_a_specified_user.yml +48 -0
  129. data/spec/cassettes/RedditKit_Client_Users/_user/returns_the_authenticated_user.yml +48 -0
  130. data/spec/cassettes/RedditKit_Client_Users/_user_content/returns_the_user_s_content.yml +41 -0
  131. data/spec/cassettes/RedditKit_Client_Users/_username_available_/returns_false_for_an_unavailable_username.yml +36 -0
  132. data/spec/cassettes/RedditKit_Client_Users/_username_available_/returns_true_for_an_available_username.yml +36 -0
  133. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_comment_full_name_passed/downvotes_the_comment.yml +100 -0
  134. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_comment_passed/downvotes_the_comment.yml +154 -0
  135. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_link_full_name_passed/downvotes_the_link.yml +106 -0
  136. data/spec/cassettes/RedditKit_Client_Voting/_downvote/with_a_link_passed/downvotes_the_link.yml +166 -0
  137. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_comment_full_name_passed/upvotes_the_comment.yml +100 -0
  138. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_comment_passed/upvotes_the_comment.yml +154 -0
  139. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_link_full_name_passed/upvotes_the_link.yml +106 -0
  140. data/spec/cassettes/RedditKit_Client_Voting/_upvote/with_a_link_passed/upvotes_the_link.yml +166 -0
  141. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_comment_full_name_passed/withdraws_the_vote_on_the_comment.yml +154 -0
  142. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_comment_passed/withdraws_the_vote_on_the_comment.yml +208 -0
  143. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_link_full_name_passed/withdraws_the_vote_on_the_link.yml +166 -0
  144. data/spec/cassettes/RedditKit_Client_Voting/_withdraw_vote/with_a_link_passed/withdraws_the_vote_on_the_link.yml +226 -0
  145. data/spec/cassettes/RedditKit_Client_Wiki/_add_wiki_editor/requests_the_correct_resource.yml +46 -0
  146. data/spec/cassettes/RedditKit_Client_Wiki/_edit_wiki_page/requests_the_correct_resource.yml +48 -0
  147. data/spec/cassettes/RedditKit_Client_Wiki/_hide_wiki_revision/requests_the_correct_resource.yml +46 -0
  148. data/spec/cassettes/RedditKit_Client_Wiki/_remove_wiki_editor/requests_the_correct_resource.yml +46 -0
  149. data/spec/cassettes/RedditKit_Client_Wiki/_revert_to_revision/requests_the_correct_resource.yml +46 -0
  150. data/spec/cassettes/RedditKit_Comment/should_not_be_deleted_if_neither_author_and_comment_attributes_are_set_to_deleted_.yml +90 -0
  151. data/spec/cassettes/RedditKit_Comment/should_return_replies.yml +90 -0
  152. data/spec/cassettes/authenticated_client.yml +87 -0
  153. data/spec/redditkit/base_spec.rb +45 -0
  154. data/spec/redditkit/client/account_spec.rb +50 -0
  155. data/spec/redditkit/client/apps_spec.rb +58 -0
  156. data/spec/redditkit/client/captcha_spec.rb +30 -0
  157. data/spec/redditkit/client/comments_spec.rb +40 -0
  158. data/spec/redditkit/client/flair_spec.rb +92 -0
  159. data/spec/redditkit/client/links_spec.rb +103 -0
  160. data/spec/redditkit/client/miscellaneous_spec.rb +40 -0
  161. data/spec/redditkit/client/moderation_spec.rb +141 -0
  162. data/spec/redditkit/client/multireddits_spec.rb +158 -0
  163. data/spec/redditkit/client/private_messages_spec.rb +51 -0
  164. data/spec/redditkit/client/search_spec.rb +25 -0
  165. data/spec/redditkit/client/subreddits_spec.rb +83 -0
  166. data/spec/redditkit/client/users_spec.rb +92 -0
  167. data/spec/redditkit/client/voting_spec.rb +99 -0
  168. data/spec/redditkit/client/wiki_spec.rb +40 -0
  169. data/spec/redditkit/client_spec.rb +46 -0
  170. data/spec/redditkit/comment_spec.rb +26 -0
  171. data/spec/redditkit/creatable_spec.rb +24 -0
  172. data/spec/redditkit/error_spec.rb +61 -0
  173. data/spec/redditkit/link_spec.rb +33 -0
  174. data/spec/redditkit/multireddit_spec.rb +27 -0
  175. data/spec/redditkit/paginated_response_spec.rb +23 -0
  176. data/spec/redditkit/thing_spec.rb +18 -0
  177. data/spec/redditkit/votable_spec.rb +52 -0
  178. data/spec/redditkit_spec.rb +21 -0
  179. data/spec/spec_helper.rb +124 -0
  180. metadata +390 -0
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.reddit.com/api/save
6
+ body:
7
+ encoding: US-ASCII
8
+ string: id=t3_1n002d
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '2'
31
+ Cache-Control:
32
+ - no-cache
33
+ Pragma:
34
+ - no-cache
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 19:59:02 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{}"
44
+ http_version:
45
+ recorded_at: Sun, 10 Nov 2013 19:59:01 GMT
46
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,89 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.reddit.com/api/report
6
+ body:
7
+ encoding: US-ASCII
8
+ string: id=fake-full-name
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '2'
31
+ Cache-Control:
32
+ - no-cache
33
+ Pragma:
34
+ - no-cache
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 19:59:01 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{}"
44
+ http_version:
45
+ recorded_at: Sun, 10 Nov 2013 19:59:00 GMT
46
+ - request:
47
+ method: post
48
+ uri: http://www.reddit.com/api/unsave
49
+ body:
50
+ encoding: US-ASCII
51
+ string: id=t3_1n002d
52
+ headers:
53
+ User-Agent:
54
+ - Faraday v0.8.8
55
+ Cookie:
56
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
57
+ X-Modhash:
58
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
59
+ Content-Type:
60
+ - application/x-www-form-urlencoded
61
+ Accept-Encoding:
62
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
63
+ Accept:
64
+ - "*/*"
65
+ response:
66
+ status:
67
+ code: 200
68
+ message: OK
69
+ headers:
70
+ Content-Type:
71
+ - application/json; charset=UTF-8
72
+ Content-Length:
73
+ - '2'
74
+ Cache-Control:
75
+ - no-cache
76
+ Pragma:
77
+ - no-cache
78
+ Server:
79
+ - "'; DROP TABLE servertypes; --"
80
+ Date:
81
+ - Sun, 10 Nov 2013 19:59:02 GMT
82
+ Connection:
83
+ - keep-alive
84
+ body:
85
+ encoding: UTF-8
86
+ string: "{}"
87
+ http_version:
88
+ recorded_at: Sun, 10 Nov 2013 19:59:01 GMT
89
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,53 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.reddit.com/api/accept_moderator_invite
6
+ body:
7
+ encoding: US-ASCII
8
+ string: r=RedditKitTesting
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '485'
31
+ Cache-Control:
32
+ - no-cache
33
+ Pragma:
34
+ - no-cache
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 22:21:34 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{\"jquery\": [[0, 1, \"call\", [\"body\"]], [1, 2, \"attr\", \"find\"],
44
+ [2, 3, \"call\", [\".status\"]], [3, 4, \"attr\", \"hide\"], [4, 5, \"call\",
45
+ []], [5, 6, \"attr\", \"html\"], [6, 7, \"call\", [\"\"]], [7, 8, \"attr\",
46
+ \"end\"], [8, 9, \"call\", []], [1, 10, \"attr\", \"find\"], [10, 11, \"call\",
47
+ [\".error.NO_INVITE_FOUND\"]], [11, 12, \"attr\", \"show\"], [12, 13, \"call\",
48
+ []], [13, 14, \"attr\", \"text\"], [14, 15, \"call\", [\"there is no pending
49
+ invite for that subreddit\"]], [15, 16, \"attr\", \"end\"], [16, 17, \"call\",
50
+ []]]}"
51
+ http_version:
52
+ recorded_at: Sun, 10 Nov 2013 22:21:33 GMT
53
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,103 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.reddit.com/r/RedditKitTesting/about.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Content-Length:
28
+ - '787'
29
+ Cache-Control:
30
+ - no-cache
31
+ Pragma:
32
+ - no-cache
33
+ Server:
34
+ - "'; DROP TABLE servertypes; --"
35
+ Date:
36
+ - Sun, 10 Nov 2013 22:21:38 GMT
37
+ Connection:
38
+ - keep-alive
39
+ body:
40
+ encoding: UTF-8
41
+ string: "{\"kind\": \"t5\", \"data\": {\"submit_text_html\": null, \"user_is_banned\":
42
+ false, \"id\": \"2ylc5\", \"submit_text\": \"\", \"spam_selfposts\": null,
43
+ \"display_name\": \"RedditKitTesting\", \"header_img\": null, \"description_html\":
44
+ null, \"title\": \"RedditKit Testing\", \"over18\": false, \"user_is_moderator\":
45
+ true, \"header_title\": null, \"description\": \"\", \"submit_link_label\":
46
+ null, \"accounts_active\": 6, \"spam_comments\": null, \"spam_links\": null,
47
+ \"header_size\": null, \"subscribers\": 1, \"submit_text_label\": null, \"name\":
48
+ \"t5_2ylc5\", \"created\": 1379988259.0, \"url\": \"/r/RedditKitTesting/\",
49
+ \"created_utc\": 1379984659.0, \"user_is_contributor\": false, \"public_traffic\":
50
+ false, \"public_description\": \"\", \"comment_score_hide_mins\": 0, \"subreddit_type\":
51
+ \"public\", \"submission_type\": \"any\", \"user_is_subscriber\": false}}"
52
+ http_version:
53
+ recorded_at: Sun, 10 Nov 2013 22:21:37 GMT
54
+ - request:
55
+ method: post
56
+ uri: http://www.reddit.com/api/friend
57
+ body:
58
+ encoding: US-ASCII
59
+ string: container=t5_2ylc5&name=somefakeredditusername&type=banned&r=RedditKitTesting
60
+ headers:
61
+ User-Agent:
62
+ - Faraday v0.8.8
63
+ Cookie:
64
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
65
+ X-Modhash:
66
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
67
+ Content-Type:
68
+ - application/x-www-form-urlencoded
69
+ Accept-Encoding:
70
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
71
+ Accept:
72
+ - "*/*"
73
+ response:
74
+ status:
75
+ code: 200
76
+ message: OK
77
+ headers:
78
+ Content-Type:
79
+ - application/json; charset=UTF-8
80
+ Content-Length:
81
+ - '466'
82
+ Cache-Control:
83
+ - no-cache
84
+ Pragma:
85
+ - no-cache
86
+ Server:
87
+ - "'; DROP TABLE servertypes; --"
88
+ Date:
89
+ - Sun, 10 Nov 2013 22:21:38 GMT
90
+ Connection:
91
+ - keep-alive
92
+ body:
93
+ encoding: UTF-8
94
+ string: "{\"jquery\": [[0, 1, \"call\", [\"body\"]], [1, 2, \"attr\", \"find\"],
95
+ [2, 3, \"call\", [\".status\"]], [3, 4, \"attr\", \"hide\"], [4, 5, \"call\",
96
+ []], [5, 6, \"attr\", \"html\"], [6, 7, \"call\", [\"\"]], [7, 8, \"attr\",
97
+ \"end\"], [8, 9, \"call\", []], [1, 10, \"attr\", \"find\"], [10, 11, \"call\",
98
+ [\".error.NO_USER.field-name\"]], [11, 12, \"attr\", \"show\"], [12, 13, \"call\",
99
+ []], [13, 14, \"attr\", \"text\"], [14, 15, \"call\", [\"please enter a username\"]],
100
+ [15, 16, \"attr\", \"end\"], [16, 17, \"call\", []]]}"
101
+ http_version:
102
+ recorded_at: Sun, 10 Nov 2013 22:21:37 GMT
103
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,47 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.reddit.com/r/RedditKitTesting/about/contributors.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Content-Length:
28
+ - '85'
29
+ Cache-Control:
30
+ - no-cache
31
+ Pragma:
32
+ - no-cache
33
+ X-Frame-Options:
34
+ - DENY
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 22:21:39 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{\"kind\": \"UserList\", \"data\": {\"children\": [{\"name\": \"samsymons\",
44
+ \"id\": \"t2_614hc\"}]}}"
45
+ http_version:
46
+ recorded_at: Sun, 10 Nov 2013 22:21:38 GMT
47
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,46 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://www.reddit.com/api/ignore_reports
6
+ body:
7
+ encoding: US-ASCII
8
+ string: id=t3_1n002d&api_type=json
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Content-Type:
17
+ - application/x-www-form-urlencoded
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - "*/*"
22
+ response:
23
+ status:
24
+ code: 200
25
+ message: OK
26
+ headers:
27
+ Content-Type:
28
+ - application/json; charset=UTF-8
29
+ Content-Length:
30
+ - '2'
31
+ Cache-Control:
32
+ - no-cache
33
+ Pragma:
34
+ - no-cache
35
+ Server:
36
+ - "'; DROP TABLE servertypes; --"
37
+ Date:
38
+ - Sun, 10 Nov 2013 22:21:40 GMT
39
+ Connection:
40
+ - keep-alive
41
+ body:
42
+ encoding: UTF-8
43
+ string: "{}"
44
+ http_version:
45
+ recorded_at: Sun, 10 Nov 2013 22:21:39 GMT
46
+ recorded_with: VCR 2.6.0
@@ -0,0 +1,153 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://www.reddit.com/r/RedditKitTesting/about/log.json
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ User-Agent:
11
+ - Faraday v0.8.8
12
+ Cookie:
13
+ - reddit_session=20332937,2013-11-10T11:35:59,2077074c26ccd8ec123c996b77eeb7afb6090af9
14
+ X-Modhash:
15
+ - 36zuxndsdf695692a68e32384990478663dadfc30f0a1dd959
16
+ Accept-Encoding:
17
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
18
+ Accept:
19
+ - "*/*"
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Content-Type:
26
+ - application/json; charset=UTF-8
27
+ Cache-Control:
28
+ - no-cache
29
+ Pragma:
30
+ - no-cache
31
+ X-Frame-Options:
32
+ - DENY
33
+ Server:
34
+ - "'; DROP TABLE servertypes; --"
35
+ Vary:
36
+ - accept-encoding
37
+ Date:
38
+ - Sun, 10 Nov 2013 22:21:36 GMT
39
+ Content-Length:
40
+ - '8126'
41
+ Connection:
42
+ - keep-alive
43
+ body:
44
+ encoding: UTF-8
45
+ string: "{\"kind\": \"Listing\", \"data\": {\"modhash\": \"lh315k2hi0cd3009c88b563d7ae978d0ad5c68418b9e585a75\",
46
+ \"children\": [{\"kind\": \"modaction\", \"data\": {\"description\": null,
47
+ \"mod_id36\": \"c3szt\", \"created_utc\": 1384122091.0, \"subreddit\": \"RedditKitTesting\",
48
+ \"sr_id36\": \"2ylc5\", \"details\": \"Page fake-page edited\", \"action\":
49
+ \"wikirevise\", \"target_fullname\": null, \"id\": \"ModAction_73585fea-4a56-11e3-b37a-12313b0cbc7a\",
50
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
51
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113407.0, \"subreddit\":
52
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"remove\", \"action\":
53
+ \"marknsfw\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_3b746718-4a42-11e3-a4cd-12313b0ae6f4\",
54
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
55
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113403.0, \"subreddit\":
56
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
57
+ \"marknsfw\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_391bca10-4a42-11e3-93d6-12313b074434\",
58
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
59
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113393.0, \"subreddit\":
60
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair\",
61
+ \"action\": \"editflair\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_33102544-4a42-11e3-b3d8-12313d188143\",
62
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
63
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113393.0, \"subreddit\":
64
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"clear flair templates\",
65
+ \"action\": \"editflair\", \"target_fullname\": null, \"id\": \"ModAction_32d01c2e-4a42-11e3-a8e8-12313b0ae6f4\",
66
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
67
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113391.0, \"subreddit\":
68
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"edit by csv\",
69
+ \"action\": \"editflair\", \"target_fullname\": null, \"id\": \"ModAction_32167c56-4a42-11e3-8c22-12313b04ceaf\",
70
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
71
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113391.0, \"subreddit\":
72
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair\",
73
+ \"action\": \"editflair\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_31cf7734-4a42-11e3-bc0f-12313d18f999\",
74
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
75
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113391.0, \"subreddit\":
76
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"delete flair\",
77
+ \"action\": \"editflair\", \"target_fullname\": \"t2_614hc\", \"id\": \"ModAction_3187a9c2-4a42-11e3-84c9-12313b06ec01\",
78
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
79
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1384113389.0, \"subreddit\":
80
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair
81
+ templates\", \"action\": \"editflair\", \"target_fullname\": null, \"id\":
82
+ \"ModAction_30ae981c-4a42-11e3-a7cf-12313d21c4ee\", \"mod\": \"<REDDIT_USERNAME>\"}},
83
+ {\"kind\": \"modaction\", \"data\": {\"description\": null, \"mod_id36\":
84
+ \"c3szt\", \"created_utc\": 1383425103.0, \"subreddit\": \"RedditKitTesting\",
85
+ \"sr_id36\": \"2ylc5\", \"details\": \"remove\", \"action\": \"marknsfw\",
86
+ \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_a614b616-43ff-11e3-b94a-12313d188143\",
87
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
88
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1383425101.0, \"subreddit\":
89
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
90
+ \"marknsfw\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_a4e8db28-43ff-11e3-8a85-12313b06ec01\",
91
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
92
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382370348.0, \"subreddit\":
93
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair\",
94
+ \"action\": \"editflair\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_db6e7974-3a67-11e3-9c19-12313b0111fc\",
95
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
96
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382370347.0, \"subreddit\":
97
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair
98
+ templates\", \"action\": \"editflair\", \"target_fullname\": null, \"id\":
99
+ \"ModAction_daccab6c-3a67-11e3-b5af-12313d188143\", \"mod\": \"<REDDIT_USERNAME>\"}},
100
+ {\"kind\": \"modaction\", \"data\": {\"description\": null, \"mod_id36\":
101
+ \"c3szt\", \"created_utc\": 1382370347.0, \"subreddit\": \"RedditKitTesting\",
102
+ \"sr_id36\": \"2ylc5\", \"details\": \"delete flair\", \"action\": \"editflair\",
103
+ \"target_fullname\": \"t2_614hc\", \"id\": \"ModAction_da59b4d6-3a67-11e3-9442-12313b0111fc\",
104
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
105
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382370345.0, \"subreddit\":
106
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"clear flair templates\",
107
+ \"action\": \"editflair\", \"target_fullname\": null, \"id\": \"ModAction_d9ac40f8-3a67-11e3-b2fb-12313d184137\",
108
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
109
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382370345.0, \"subreddit\":
110
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair\",
111
+ \"action\": \"editflair\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_d962795a-3a67-11e3-a0f1-12313b0ae6f4\",
112
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
113
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382370344.0, \"subreddit\":
114
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"edit by csv\",
115
+ \"action\": \"editflair\", \"target_fullname\": null, \"id\": \"ModAction_d8d845c8-3a67-11e3-aee4-12313d21c4ee\",
116
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
117
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382336501.0, \"subreddit\":
118
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
119
+ \"marknsfw\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_0c931342-3a19-11e3-b9b4-12313b079641\",
120
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
121
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382336496.0, \"subreddit\":
122
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"remove\", \"action\":
123
+ \"marknsfw\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_09d49504-3a19-11e3-9cfe-12313d18f999\",
124
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
125
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382336486.0, \"subreddit\":
126
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
127
+ \"sticky\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_04090e48-3a19-11e3-b0ea-12313b074434\",
128
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
129
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382336485.0, \"subreddit\":
130
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
131
+ \"ignorereports\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_03573f06-3a19-11e3-9626-12313b0111fc\",
132
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
133
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382336460.0, \"subreddit\":
134
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"Page fake-page
135
+ edited\", \"action\": \"wikirevise\", \"target_fullname\": null, \"id\": \"ModAction_f4924542-3a18-11e3-8065-12313b0cbc7a\",
136
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
137
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1382051881.0, \"subreddit\":
138
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"add/edit flair
139
+ templates\", \"action\": \"editflair\", \"target_fullname\": null, \"id\":
140
+ \"ModAction_5e444eca-3782-11e3-ac14-12313b0111fc\", \"mod\": \"<REDDIT_USERNAME>\"}},
141
+ {\"kind\": \"modaction\", \"data\": {\"description\": null, \"mod_id36\":
142
+ \"c3szt\", \"created_utc\": 1381941003.0, \"subreddit\": \"RedditKitTesting\",
143
+ \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\": \"unignorereports\",
144
+ \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_35b23524-3680-11e3-9024-12313d21c4ee\",
145
+ \"mod\": \"<REDDIT_USERNAME>\"}}, {\"kind\": \"modaction\", \"data\": {\"description\":
146
+ null, \"mod_id36\": \"c3szt\", \"created_utc\": 1381940949.0, \"subreddit\":
147
+ \"RedditKitTesting\", \"sr_id36\": \"2ylc5\", \"details\": \"\", \"action\":
148
+ \"ignorereports\", \"target_fullname\": \"t3_1n002d\", \"id\": \"ModAction_15904024-3680-11e3-91a6-12313d184137\",
149
+ \"mod\": \"<REDDIT_USERNAME>\"}}], \"after\": \"ModAction_15904024-3680-11e3-91a6-12313d184137\",
150
+ \"before\": null}}"
151
+ http_version:
152
+ recorded_at: Sun, 10 Nov 2013 22:21:35 GMT
153
+ recorded_with: VCR 2.6.0