tumblr_wrapper 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tumblr_wrapper.rb +2 -2
- data/lib/tumblr_wrapper/version.rb +1 -1
- metadata +2 -2
data/lib/tumblr_wrapper.rb
CHANGED
@@ -15,7 +15,7 @@ require "tumblr_wrapper/post"
|
|
15
15
|
module TumblrWrapper
|
16
16
|
ENDPOINT = 'http://api.tumblr.com'
|
17
17
|
OAUTH_ENPOINT = 'http://www.tumblr.com'
|
18
|
-
|
18
|
+
API_VERSION = 'v2'
|
19
19
|
|
20
20
|
def self.consumer_key=(key)
|
21
21
|
@@consumer_key = key
|
@@ -42,7 +42,7 @@ module TumblrWrapper
|
|
42
42
|
end
|
43
43
|
|
44
44
|
def self.version
|
45
|
-
|
45
|
+
API_VERSION
|
46
46
|
end
|
47
47
|
|
48
48
|
class NoAccessToken < StandardError
|