ruby-stackoverflow 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. data/.gitignore +17 -0
  2. data/.rake_tasks +4 -0
  3. data/Gemfile +9 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +50 -0
  6. data/Rakefile +6 -0
  7. data/lib/generators/ruby_stackoverflow/ruby_stackoverflow_generator.rb +31 -0
  8. data/lib/generators/ruby_stackoverflow/templates/ruby_stackoverflow.rb +1 -0
  9. data/lib/ruby-stackoverflow.rb +29 -0
  10. data/lib/ruby-stackoverflow/client.rb +68 -0
  11. data/lib/ruby-stackoverflow/client/.DS_Store +0 -0
  12. data/lib/ruby-stackoverflow/client/badges_helper.rb +50 -0
  13. data/lib/ruby-stackoverflow/client/comments_helper.rb +23 -0
  14. data/lib/ruby-stackoverflow/client/parse_options.rb +25 -0
  15. data/lib/ruby-stackoverflow/client/question_helper.rb +61 -0
  16. data/lib/ruby-stackoverflow/client/resource/answer.rb +7 -0
  17. data/lib/ruby-stackoverflow/client/resource/badge.rb +7 -0
  18. data/lib/ruby-stackoverflow/client/resource/comment.rb +8 -0
  19. data/lib/ruby-stackoverflow/client/resource/notification.rb +8 -0
  20. data/lib/ruby-stackoverflow/client/resource/permission.rb +8 -0
  21. data/lib/ruby-stackoverflow/client/resource/post.rb +7 -0
  22. data/lib/ruby-stackoverflow/client/resource/question.rb +66 -0
  23. data/lib/ruby-stackoverflow/client/resource/reputation.rb +8 -0
  24. data/lib/ruby-stackoverflow/client/resource/resource.rb +28 -0
  25. data/lib/ruby-stackoverflow/client/resource/stackoverflow_error.rb +13 -0
  26. data/lib/ruby-stackoverflow/client/resource/suggested_edit.rb +8 -0
  27. data/lib/ruby-stackoverflow/client/resource/tag.rb +19 -0
  28. data/lib/ruby-stackoverflow/client/resource/user.rb +125 -0
  29. data/lib/ruby-stackoverflow/client/response_data.rb +20 -0
  30. data/lib/ruby-stackoverflow/client/user_helper.rb +152 -0
  31. data/lib/ruby-stackoverflow/configuration.rb +10 -0
  32. data/lib/ruby-stackoverflow/ruby-stackoverflow_generator.rb +29 -0
  33. data/lib/ruby-stackoverflow/version.rb +4 -0
  34. data/ruby-stackoverflow.gemspec +28 -0
  35. data/spec/fixtures/error.json +5 -0
  36. data/spec/fixtures/questions.json +28 -0
  37. data/spec/fixtures/questions_answers.json +23 -0
  38. data/spec/fixtures/questions_comments.json +39 -0
  39. data/spec/fixtures/questions_timeline.json +200 -0
  40. data/spec/fixtures/users.json +32 -0
  41. data/spec/fixtures/vcr_cassettes/badges.yml +67 -0
  42. data/spec/fixtures/vcr_cassettes/badges_by_ids.yml +56 -0
  43. data/spec/fixtures/vcr_cassettes/badges_by_name.yml +55 -0
  44. data/spec/fixtures/vcr_cassettes/badges_by_recipients.yml +73 -0
  45. data/spec/fixtures/vcr_cassettes/badges_by_recipients_by_ids.yml +70 -0
  46. data/spec/fixtures/vcr_cassettes/badges_by_tags.yml +58 -0
  47. data/spec/fixtures/vcr_cassettes/comments.yml +104 -0
  48. data/spec/fixtures/vcr_cassettes/comments_by_ids.yml +60 -0
  49. data/spec/fixtures/vcr_cassettes/error.yml +53 -0
  50. data/spec/fixtures/vcr_cassettes/featured_questions.yml +62 -0
  51. data/spec/fixtures/vcr_cassettes/linked_questions.yml +53 -0
  52. data/spec/fixtures/vcr_cassettes/noanswered_questions.yml +62 -0
  53. data/spec/fixtures/vcr_cassettes/questions.yml +165 -0
  54. data/spec/fixtures/vcr_cassettes/questions_answers.yml +63 -0
  55. data/spec/fixtures/vcr_cassettes/questions_by_ids.yml +62 -0
  56. data/spec/fixtures/vcr_cassettes/questions_comments.yml +60 -0
  57. data/spec/fixtures/vcr_cassettes/related_questions.yml +94 -0
  58. data/spec/fixtures/vcr_cassettes/timeline_questions.yml +68 -0
  59. data/spec/fixtures/vcr_cassettes/unanswered_questions.yml +62 -0
  60. data/spec/fixtures/vcr_cassettes/user_timeline.yml +73 -0
  61. data/spec/fixtures/vcr_cassettes/user_top_answers_with_given_tags.yml +64 -0
  62. data/spec/fixtures/vcr_cassettes/user_top_questions_with_given_tags.yml +66 -0
  63. data/spec/fixtures/vcr_cassettes/user_top_tags_by_answers.yml +62 -0
  64. data/spec/fixtures/vcr_cassettes/user_top_tags_by_questions.yml +58 -0
  65. data/spec/fixtures/vcr_cassettes/user_write_permissions.yml +56 -0
  66. data/spec/fixtures/vcr_cassettes/users.yml +61 -0
  67. data/spec/fixtures/vcr_cassettes/users_answers.yml +65 -0
  68. data/spec/fixtures/vcr_cassettes/users_badges.yml +60 -0
  69. data/spec/fixtures/vcr_cassettes/users_by_ids.yml +61 -0
  70. data/spec/fixtures/vcr_cassettes/users_comments.yml +74 -0
  71. data/spec/fixtures/vcr_cassettes/users_favorites_questions.yml +74 -0
  72. data/spec/fixtures/vcr_cassettes/users_featured_questions.yml +53 -0
  73. data/spec/fixtures/vcr_cassettes/users_mentioned_questions.yml +97 -0
  74. data/spec/fixtures/vcr_cassettes/users_noanswerquestions.yml +60 -0
  75. data/spec/fixtures/vcr_cassettes/users_notifications.yml +80 -0
  76. data/spec/fixtures/vcr_cassettes/users_questions.yml +67 -0
  77. data/spec/fixtures/vcr_cassettes/users_replied_comments.yml +60 -0
  78. data/spec/fixtures/vcr_cassettes/users_reputation_questions.yml +59 -0
  79. data/spec/fixtures/vcr_cassettes/users_suggested_edits.yml +72 -0
  80. data/spec/fixtures/vcr_cassettes/users_tags.yml +60 -0
  81. data/spec/fixtures/vcr_cassettes/users_unaccepted_questions.yml +65 -0
  82. data/spec/fixtures/vcr_cassettes/users_unanswered_questions.yml +77 -0
  83. data/spec/fixtures/vcr_cassettes/users_unread_notifications.yml +53 -0
  84. data/spec/helper.rb +45 -0
  85. data/spec/ruby-stackoverflow/badges_spec.rb +63 -0
  86. data/spec/ruby-stackoverflow/comments_spec.rb +31 -0
  87. data/spec/ruby-stackoverflow/question_spec.rb +90 -0
  88. data/spec/ruby-stackoverflow/user_spec.rb +289 -0
  89. data/spec/spec_helper.rb +16 -0
  90. metadata +292 -0
@@ -0,0 +1,10 @@
1
+
2
+ module RubyStackoverflow
3
+ class Configuration
4
+ attr_accessor :client_id, :client_sceret , :client_key, :access_token, :api_url
5
+
6
+ def self.api_url
7
+ 'https://api.stackexchange.com/2.1/'
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,29 @@
1
+ require 'rails/generators'
2
+ require 'ruby-stackoverflow'
3
+ class RubyStackoverflowGenerator < Rails::Generators::Base
4
+ desc "Creates the ruby-stackoverflow initializer file at config/initialize/ruby-stackoverflow.rb"
5
+ class_option :client_key, :aliases => "-k", :type => :string, :desc => "Your Stackoverflow Client key"
6
+ class_option :access_token, :aliases => "-k", :type => :string, :desc => "Your STackoverflow access token"
7
+
8
+ def self.source_root
9
+ @_ruby_stackoverflow_root ||= File.expand_path("../templates", __FILE__)
10
+ end
11
+
12
+ def install
13
+ template 'ruby-stackoverflow.rb', 'config/initializer/ruby-stackoverflow.rb'
14
+ end
15
+
16
+ private
17
+
18
+ def configuration_output
19
+ output = <<-eos
20
+ RubyStackoverflow.configure do|config|
21
+ config.client_key = #{client_key}
22
+ config.access_token = #{access_token}
23
+ end
24
+ eos
25
+ end
26
+
27
+
28
+ end
29
+
@@ -0,0 +1,4 @@
1
+ module RubyStackoverflow
2
+ VERSION = "0.0.2"
3
+ end
4
+
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'ruby-stackoverflow/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "ruby-stackoverflow"
8
+ spec.version = RubyStackoverflow::VERSION
9
+ spec.authors = ["Rashmi Yadav"]
10
+ spec.email = ["rays.rashmi@gmail.com"]
11
+ spec.description = %q{Ruby library for stackoverflow api}
12
+ spec.summary = %q{Interface for stackoverflow api}
13
+ spec.homepage = "https://github.com/raysrashmi/ruby-stackoverflow"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_runtime_dependency "httparty", "~> 0.11.0"
22
+ spec.add_runtime_dependency "json"
23
+
24
+ spec.add_development_dependency "webmock", "~> 1.14.0"
25
+ spec.add_development_dependency "vcr","~> 2.6.0"
26
+ spec.add_development_dependency "bundler", "~> 1.3"
27
+ spec.add_development_dependency "rake", "~> 10.1.0"
28
+ end
@@ -0,0 +1,5 @@
1
+ {
2
+ "error_id": 404,
3
+ "error_name": "no_method",
4
+ "error_message": "no method found with this name"
5
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "question_id": 19294359,
5
+ "creation_date": 1381403943,
6
+ "last_activity_date": 1381404028,
7
+ "score": 0,
8
+ "answer_count": 1,
9
+ "title": "Get a key from a javascript array when array has only 1 element",
10
+ "tags": [
11
+ "javascript",
12
+ "arrays"
13
+ ],
14
+ "view_count": 10,
15
+ "owner": {
16
+ "user_id": 2327697,
17
+ "display_name": "Aaron",
18
+ "reputation": 406,
19
+ "user_type": "registered",
20
+ "profile_image": "https://www.gravatar.com/avatar/6c6722050180a986a5efc80c7f1ae33d?s=128&d=identicon&r=PG",
21
+ "link": "http://stackoverflow.com/users/2327697/aaron",
22
+ "accept_rate": 97
23
+ },
24
+ "link": "http://stackoverflow.com/questions/19294359/get-a-key-from-a-javascript-array-when-array-has-only-1-element",
25
+ "is_answered": false
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "question_id": 16067043,
5
+ "answer_id": 16176338,
6
+ "creation_date": 1366740882,
7
+ "last_activity_date": 1366740882,
8
+ "score": 0,
9
+ "is_accepted": false,
10
+ "owner": {
11
+ "user_id": 877580,
12
+ "display_name": "Zach Hale",
13
+ "reputation": 1,
14
+ "user_type": "registered",
15
+ "profile_image": "https://www.gravatar.com/avatar/d204ba1147a9dfb76320a8a2a4b1e5f8?s=128&d=identicon&r=PG",
16
+ "link": "http://stackoverflow.com/users/877580/zach-hale"
17
+ }
18
+ }
19
+ ],
20
+ "quota_remaining": 296,
21
+ "quota_max": 300,
22
+ "has_more": false
23
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "comment_id": 18990742,
5
+ "post_id": 13804832,
6
+ "creation_date": 1355156949,
7
+ "score": 1,
8
+ "edited": false,
9
+ "owner": {
10
+ "user_id": 87189,
11
+ "display_name": "tadman",
12
+ "reputation": 58115,
13
+ "user_type": "registered",
14
+ "profile_image": "https://www.gravatar.com/avatar/98e7d6edce863e7a1bf8199b082eb25e?s=128&d=identicon&r=PG",
15
+ "link": "http://stackoverflow.com/users/87189/tadman",
16
+ "accept_rate": 100
17
+ }
18
+ },
19
+ {
20
+ "comment_id": 18990542,
21
+ "post_id": 13804832,
22
+ "creation_date": 1355156515,
23
+ "score": 0,
24
+ "edited": false,
25
+ "owner": {
26
+ "user_id": 330057,
27
+ "display_name": "corsiKa",
28
+ "reputation": 34496,
29
+ "user_type": "registered",
30
+ "profile_image": "https://www.gravatar.com/avatar/eba3df62ea97ea9065ca70e9c06b80aa?s=128&d=identicon&r=PG",
31
+ "link": "http://stackoverflow.com/users/330057/corsika",
32
+ "accept_rate": 91
33
+ }
34
+ }
35
+ ],
36
+ "quota_remaining": 289,
37
+ "quota_max": 300,
38
+ "has_more": false
39
+ }
@@ -0,0 +1,200 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "timeline_type": "comment",
5
+ "question_id": 16067043,
6
+ "post_id": 16176338,
7
+ "comment_id": 23206076,
8
+ "creation_date": 1366924147,
9
+ "owner": {
10
+ "user_id": 1363236,
11
+ "display_name": "raysrashmi",
12
+ "reputation": 26,
13
+ "user_type": "registered",
14
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
15
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
16
+ }
17
+ },
18
+ {
19
+ "timeline_type": "answer",
20
+ "question_id": 16067043,
21
+ "creation_date": 1366740882,
22
+ "owner": {
23
+ "user_id": 877580,
24
+ "display_name": "Zach Hale",
25
+ "reputation": 1,
26
+ "user_type": "registered",
27
+ "profile_image": "https://www.gravatar.com/avatar/d204ba1147a9dfb76320a8a2a4b1e5f8?s=128&d=identicon&r=PG",
28
+ "link": "http://stackoverflow.com/users/877580/zach-hale"
29
+ }
30
+ },
31
+ {
32
+ "timeline_type": "vote_aggregate",
33
+ "question_id": 16067043,
34
+ "post_id": 16176338,
35
+ "up_vote_count": 0,
36
+ "down_vote_count": 1,
37
+ "creation_date": 1366675200,
38
+ "owner": {
39
+ "user_id": 877580,
40
+ "display_name": "Zach Hale",
41
+ "reputation": 1,
42
+ "user_type": "registered",
43
+ "profile_image": "https://www.gravatar.com/avatar/d204ba1147a9dfb76320a8a2a4b1e5f8?s=128&d=identicon&r=PG",
44
+ "link": "http://stackoverflow.com/users/877580/zach-hale"
45
+ }
46
+ },
47
+ {
48
+ "timeline_type": "vote_aggregate",
49
+ "question_id": 16067043,
50
+ "post_id": 16067043,
51
+ "up_vote_count": 1,
52
+ "down_vote_count": 0,
53
+ "creation_date": 1366329600,
54
+ "owner": {
55
+ "user_id": 1363236,
56
+ "display_name": "raysrashmi",
57
+ "reputation": 26,
58
+ "user_type": "registered",
59
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
60
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
61
+ }
62
+ },
63
+ {
64
+ "timeline_type": "question",
65
+ "question_id": 16067043,
66
+ "creation_date": 1366221933,
67
+ "owner": {
68
+ "user_id": 1363236,
69
+ "display_name": "raysrashmi",
70
+ "reputation": 26,
71
+ "user_type": "registered",
72
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
73
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
74
+ }
75
+ },
76
+ {
77
+ "timeline_type": "vote_aggregate",
78
+ "question_id": 13804832,
79
+ "post_id": 13804832,
80
+ "up_vote_count": 0,
81
+ "down_vote_count": 1,
82
+ "creation_date": 1365379200,
83
+ "owner": {
84
+ "user_id": 1363236,
85
+ "display_name": "raysrashmi",
86
+ "reputation": 26,
87
+ "user_type": "registered",
88
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
89
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
90
+ }
91
+ },
92
+ {
93
+ "timeline_type": "answer",
94
+ "question_id": 13804832,
95
+ "creation_date": 1355157403,
96
+ "owner": {
97
+ "user_id": 23915,
98
+ "display_name": "Unixmonkey",
99
+ "reputation": 5875,
100
+ "user_type": "registered",
101
+ "profile_image": "https://www.gravatar.com/avatar/b5e935da7b67c03dd56f385b031f485c?s=128&d=identicon&r=PG",
102
+ "link": "http://stackoverflow.com/users/23915/unixmonkey"
103
+ }
104
+ },
105
+ {
106
+ "timeline_type": "answer",
107
+ "question_id": 13804832,
108
+ "creation_date": 1355156953,
109
+ "owner": {
110
+ "user_id": 87189,
111
+ "display_name": "tadman",
112
+ "reputation": 58115,
113
+ "user_type": "registered",
114
+ "profile_image": "https://www.gravatar.com/avatar/98e7d6edce863e7a1bf8199b082eb25e?s=128&d=identicon&r=PG",
115
+ "link": "http://stackoverflow.com/users/87189/tadman",
116
+ "accept_rate": 100
117
+ }
118
+ },
119
+ {
120
+ "timeline_type": "comment",
121
+ "question_id": 13804832,
122
+ "post_id": 13804832,
123
+ "comment_id": 18990742,
124
+ "creation_date": 1355156949,
125
+ "owner": {
126
+ "user_id": 87189,
127
+ "display_name": "tadman",
128
+ "reputation": 58115,
129
+ "user_type": "registered",
130
+ "profile_image": "https://www.gravatar.com/avatar/98e7d6edce863e7a1bf8199b082eb25e?s=128&d=identicon&r=PG",
131
+ "link": "http://stackoverflow.com/users/87189/tadman",
132
+ "accept_rate": 100
133
+ }
134
+ },
135
+ {
136
+ "timeline_type": "comment",
137
+ "question_id": 13804832,
138
+ "post_id": 13804832,
139
+ "comment_id": 18990542,
140
+ "creation_date": 1355156515,
141
+ "owner": {
142
+ "user_id": 330057,
143
+ "display_name": "corsiKa",
144
+ "reputation": 34496,
145
+ "user_type": "registered",
146
+ "profile_image": "https://www.gravatar.com/avatar/eba3df62ea97ea9065ca70e9c06b80aa?s=128&d=identicon&r=PG",
147
+ "link": "http://stackoverflow.com/users/330057/corsika",
148
+ "accept_rate": 91
149
+ }
150
+ },
151
+ {
152
+ "timeline_type": "question",
153
+ "question_id": 13804832,
154
+ "creation_date": 1355156366,
155
+ "owner": {
156
+ "user_id": 1363236,
157
+ "display_name": "raysrashmi",
158
+ "reputation": 26,
159
+ "user_type": "registered",
160
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
161
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
162
+ }
163
+ },
164
+ {
165
+ "timeline_type": "vote_aggregate",
166
+ "question_id": 13804832,
167
+ "post_id": 13804832,
168
+ "up_vote_count": 0,
169
+ "down_vote_count": 1,
170
+ "creation_date": 1355097600,
171
+ "owner": {
172
+ "user_id": 1363236,
173
+ "display_name": "raysrashmi",
174
+ "reputation": 26,
175
+ "user_type": "registered",
176
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
177
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi"
178
+ }
179
+ },
180
+ {
181
+ "timeline_type": "vote_aggregate",
182
+ "question_id": 13804832,
183
+ "post_id": 13805140,
184
+ "up_vote_count": 2,
185
+ "down_vote_count": 0,
186
+ "creation_date": 1355097600,
187
+ "owner": {
188
+ "user_id": 23915,
189
+ "display_name": "Unixmonkey",
190
+ "reputation": 5875,
191
+ "user_type": "registered",
192
+ "profile_image": "https://www.gravatar.com/avatar/b5e935da7b67c03dd56f385b031f485c?s=128&d=identicon&r=PG",
193
+ "link": "http://stackoverflow.com/users/23915/unixmonkey"
194
+ }
195
+ }
196
+ ],
197
+ "quota_remaining": 272,
198
+ "quota_max": 300,
199
+ "has_more": false
200
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "items": [
3
+ {
4
+ "user_id": 1363236,
5
+ "user_type": "registered",
6
+ "creation_date": 1335636337,
7
+ "display_name": "raysrashmi",
8
+ "profile_image": "https://www.gravatar.com/avatar/e3e5923c7e2954158e9b9b0493c9132c?s=128&d=identicon&r=PG",
9
+ "reputation": 26,
10
+ "reputation_change_day": 0,
11
+ "reputation_change_week": 0,
12
+ "reputation_change_month": 0,
13
+ "reputation_change_quarter": 0,
14
+ "reputation_change_year": 25,
15
+ "last_access_date": 1381699921,
16
+ "last_modified_date": 1379355381,
17
+ "is_employee": false,
18
+ "link": "http://stackoverflow.com/users/1363236/raysrashmi",
19
+ "website_url": "http://raysrashmi.com",
20
+ "location": "Stockholm, Sweden",
21
+ "account_id": 1444066,
22
+ "badge_counts": {
23
+ "gold": 0,
24
+ "silver": 0,
25
+ "bronze": 4
26
+ }
27
+ }
28
+ ],
29
+ "quota_remaining": 9996,
30
+ "quota_max": 10000,
31
+ "has_more": false
32
+ }
@@ -0,0 +1,67 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.stackexchange.com/2.1/badges/?access_token=L0J88cciBPHiGtIKCul6Gg))&key=pfllsDjWHeLGWoWIT5rRdA((&max=bronze&min=gold&site=stackoverflow&sort=rank
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: !binary |-
14
+ T0s=
15
+ headers:
16
+ !binary "U2VydmVy":
17
+ - !binary |-
18
+ bmdpbng=
19
+ !binary "RGF0ZQ==":
20
+ - !binary |-
21
+ RnJpLCAyNSBPY3QgMjAxMyAyMTozNDo1MSBHTVQ=
22
+ !binary "Q29udGVudC1UeXBl":
23
+ - !binary |-
24
+ YXBwbGljYXRpb24vanNvbjsgY2hhcnNldD11dGYtOA==
25
+ !binary "Q29ubmVjdGlvbg==":
26
+ - !binary |-
27
+ a2VlcC1hbGl2ZQ==
28
+ !binary "Q2FjaGUtQ29udHJvbA==":
29
+ - !binary |-
30
+ cHJpdmF0ZQ==
31
+ !binary "Q29udGVudC1FbmNvZGluZw==":
32
+ - !binary |-
33
+ Z3ppcA==
34
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctT3JpZ2lu":
35
+ - !binary |-
36
+ Kg==
37
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctTWV0aG9kcw==":
38
+ - !binary |-
39
+ R0VULCBQT1NU
40
+ !binary "QWNjZXNzLUNvbnRyb2wtQWxsb3ctQ3JlZGVudGlhbHM=":
41
+ - !binary |-
42
+ ZmFsc2U=
43
+ !binary "Q29udGVudC1MZW5ndGg=":
44
+ - !binary |-
45
+ NzA5
46
+ body:
47
+ encoding: ASCII-8BIT
48
+ string: !binary |-
49
+ H4sIAAAAAAAEALWXy3LiMBBF/8WzDE77gS2JX5maooSsYCfYVmRBwqTy7yM7
50
+ jyEtlFWHHZR9+1SrdSReks7pfko2v1+SnWz2ets1yaaoy1Vi5fCQbJKdHYe/
51
+ Olklg+y1/67s2bhxb6Vpz/5X+SRts1XjcXDJJq9X7ynubOaHndxvd3LSjX/y
52
+ 0C15rXNmAzA5qR7Gk7Z3h/HpVo09LC9O4GvDlxqvq69o6yia1Xfa6kFpzFUI
53
+ Cq41/C+Aoap4v4ImZSWjwKlABRh1FKM/nfqfaUsNSzZGYVEUc3btOARtqfKC
54
+ AofBez4G4nGg1gQ0nJE0h8McjlHENyO8188YZl2SsAh4S0c0LIvSjLt7rVx3
55
+ 0mkwxUxQrBbL4LIGJsujZPpZ6UPARLGvWA5v4RimiMJM2p4O2k3B/sooeAr4
56
+ zMdI31j6F4YpC5LtzspQOyyu5EYfTNulRZaJYIuRDNAaLktgsLgP7+VJButV
57
+ c07BVMOSjmHiRuyMF1ZwauUZzylwGLznY6C4ESetjrZzwQHPSSaaw2c+Roqb
58
+ sZeuDXBIJlrAko1QeFyL8l4Gjs5JxplnsIRjlrgIlZzcQadyUajVarRNgEYB
59
+ lsO1Spgz7shuaLVfcXnldlaVFIAFXJbAYHFT3g7ahWpaUww6L2EOxyxxW/ba
60
+ 7oP2UBxqfA1v2Zglfm81Pma0/bUFywWFJnkFlzUwWVzd6uYmIGKMZMrr8HDj
61
+ cW1Pj+EVpCDhYDBnY5K4r5/MXXi5JyHhMGdjkrimZz2Mw6RsZ1xaYihRUTAJ
62
+ QFUQnvhG3ZO5tuFZRmFv4e09mfTKnhdxgcuhsWMXSrtkFH+mRQ4fBTBS3NVz
63
+ h9LytgqZKIgKWOLTKiCKS9pbQksVnP8kHSrhI/31zyp5PI5Obq3uZTd0w96P
64
+ rKj4x8+9P5r9tcx/Vkkrp23vX0w2zh716z85BL/wSREAAA==
65
+ http_version:
66
+ recorded_at: Fri, 25 Oct 2013 21:34:51 GMT
67
+ recorded_with: VCR 2.6.0