From 46858e572149058b867e7307c70709ec914f0fb0 Mon Sep 17 00:00:00 2001 From: Arron Mabrey Date: Wed, 1 Oct 2014 14:15:32 -0400 Subject: [PATCH] FIx documentation typo in favorites.rb I think these should be `favorite!` not `favorite` because this is documenting the `favorite!` method. -- Arron --- lib/twitter/rest/favorites.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/twitter/rest/favorites.rb b/lib/twitter/rest/favorites.rb index e015661db..80d00e47d 100644 --- a/lib/twitter/rest/favorites.rb +++ b/lib/twitter/rest/favorites.rb @@ -89,9 +89,9 @@ def favorite(*args) # @raise [Twitter::Error::NotFound] Error raised when tweet does not exist or has been deleted. # @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. # @return [Array] The favorited Tweets. - # @overload favorite(*tweets) + # @overload favorite!(*tweets) # @param tweets [Enumerable] A collection of Tweet IDs, URIs, or objects. - # @overload favorite(*tweets, options) + # @overload favorite!(*tweets, options) # @param tweets [Enumerable] A collection of Tweet IDs, URIs, or objects. # @param options [Hash] A customizable set of options. def favorite!(*args)