flickr_authentication 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,7 @@
|
|
1
1
|
require "flickr_authentication/version"
|
2
2
|
require 'flickraw'
|
3
3
|
require 'launchy'
|
4
|
+
require 'yaml'
|
4
5
|
|
5
6
|
class FlickrAuthentication
|
6
7
|
|
@@ -38,8 +39,6 @@ class FlickrAuthentication
|
|
38
39
|
login = flickr.test.login
|
39
40
|
|
40
41
|
puts auth.token
|
41
|
-
|
42
|
-
require 'yaml'
|
43
42
|
data = {}
|
44
43
|
data["api_token"] = auth.token
|
45
44
|
File.open(auth_file, "w"){|f| YAML.dump(data, f) }
|