We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70400b2 commit 9a17019Copy full SHA for 9a17019
lib/qiita.rb
@@ -4,7 +4,8 @@
4
5
class Qiita
6
API_BASE_URL = 'https://qiita.com'
7
- API_ITEM_ENDPOINT = '/api/v2/items'
+ API_VERSION = 'v2'
8
+ API_ITEM_ENDPOINT = "/api/#{API_VERSION}/items"
9
10
# @content: String: A content of an article
11
# @header: Hash: A YAML header of an article
0 commit comments