lib/assistly/client/article.rb in assistly-0.2.0 vs lib/assistly/client/article.rb in assistly-0.2.1

- old
+ new

@@ -14,14 +14,10 @@ # @authenticated true # @see http://dev.assistly.com/docs/api/topics/articles def articles(id, *args) options = args.last.is_a?(Hash) ? args.pop : {} response = get("topics/#{id}/articles",options) - if response['results'] - return response['results'] - else - return response - end + response end # Returns extended information on a single article # # @param id [Integer] a article ID