Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 2b1c1e7

Browse files
Use v2.2 API
1 parent 23ffb69 commit 2b1c1e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+93
-88
lines changed

‎lib/ruby-stackoverflow/client/user_helper.rb‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ def users_top_questions_with_given_tags(id, tags, options = {})
114114
user_response(options, url)
115115
end
116116

117+
def user_top_tags(id, options ={})
118+
url = id + '/top-tags'
119+
user_response(options, url)
120+
end
121+
117122
def user_top_tags_by_answers(id, options ={})
118123
url = id + '/top-answer-tags'
119124
user_response(options, url)

‎lib/ruby-stackoverflow/configuration.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Configuration
44
attr_accessor :client_id, :client_sceret , :client_key, :access_token, :api_url
55

66
def self.api_url
7-
'https://api.stackexchange.com/2.1/'
7+
'https://api.stackexchange.com/2.2/'
88
end
99
end
1010
end

‎spec/fixtures/vcr_cassettes/badges.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/badges_by_ids.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/badges_by_name.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/badges_by_recipients.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/badges_by_recipients_by_ids.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/badges_by_tags.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/comments.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec/fixtures/vcr_cassettes/comments_by_ids.yml‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /