lib/shutl/resource/rest.rb in shutl_resource-0.8.1 vs lib/shutl/resource/rest.rb in shutl_resource-0.8.2
- old
+ new
@@ -60,9 +60,13 @@
return self.instance_variable_get(:"@#{method}")
end
super
end
+ def respond_to? method
+ self.instance_variables.include?(:"@#{method}")
+ end
+
def parsed
response.parsed_response
end
def status