tumblr_wrapper 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tumblr_wrapper/response.rb +1 -1
- data/lib/tumblr_wrapper/version.rb +1 -1
- metadata +2 -2
@@ -22,7 +22,7 @@ class TumblrWrapper::Response
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def method_missing(meth, *args, &block)
|
25
|
-
if response.keys.include?(meth.to_s)
|
25
|
+
if response && response.keys.include?(meth.to_s)
|
26
26
|
r = response[meth.to_s]
|
27
27
|
r.respond_to?(:keys) ? r.with_indifferent_access : r
|
28
28
|
else
|