traktr 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,29 +0,0 @@
1
- require 'digest/sha1'
2
-
3
- module Traktr
4
- class << self
5
- def api_key
6
- @api_key ||= ""
7
- end
8
-
9
- def api_key=(api_key)
10
- @api_key = api_key
11
- end
12
-
13
- def username
14
- @username ||= ""
15
- end
16
-
17
- def username=(username)
18
- @username = username
19
- end
20
-
21
- def password
22
- @password ||= ""
23
- end
24
-
25
- def password=(password)
26
- @password = password == '' ? '' : Digest::SHA1.hexdigest(password)
27
- end
28
- end
29
- end