Created
May 27, 2009 13:42
-
-
Save metavida/118646 to your computer and use it in GitHub Desktop.
A simple patch for the flickr 1.0.2 gem based on http://www.flickr.com/services/api/request.rest.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- flickr-1.0.2/flickr.rb | |
+++ flickr-1.0.3/flickr.rb | |
@@ -56,7 +56,7 @@ | |
# Replace this API key with your own (see http://www.flickr.com/services/api/misc.api_keys.html) | |
def initialize(api_key=nil, email=nil, password=nil) | |
@api_key = api_key | |
- @host = 'http://flickr.com' | |
+ @host = 'http://api.flickr.com' | |
@api = '/services/rest' | |
login(email, password) if email and password | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment