X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/34d0bf15a6f4009de376ceed1d7d5cca24a8dfe7..2677b890a58ffaccf47f54615cd3ae6715586ab8:/doc/Lyricli/Sources/Rdio.html diff --git a/doc/Lyricli/Sources/Rdio.html b/doc/Lyricli/Sources/Rdio.html index 51ce909..3336a24 100644 --- a/doc/Lyricli/Sources/Rdio.html +++ b/doc/Lyricli/Sources/Rdio.html @@ -99,7 +99,19 @@
+

Overview

+
+

+This is the Source for rdio +

+ + +
+
+
+ +
@@ -319,14 +331,14 @@ Instantiates everything it needs to run.
 
 
-27
-28
 29
 30
-31
+31 +32 +33 -
# File 'lib/lyricli/sources/rdio.rb', line 27
+      
# File 'lib/lyricli/sources/rdio.rb', line 29
 
 def initialize
   @name = 'rdio'
@@ -372,12 +384,12 @@ Returns the value of attribute name
       
 
 
-6
-7
-8
+8 +9 +10
-
# File 'lib/lyricli/sources/rdio.rb', line 6
+      
# File 'lib/lyricli/sources/rdio.rb', line 8
 
 def name
   @name
@@ -422,9 +434,6 @@ token.
       
 
 
-51
-52
-53
 54
 55
 56
@@ -438,10 +447,13 @@ token.
 64
 65
 66
-67
+67 +68 +69 +70
-
# File 'lib/lyricli/sources/rdio.rb', line 51
+      
# File 'lib/lyricli/sources/rdio.rb', line 54
 
 def self.create_auth_token
   rdio = ::Rdio::SimpleRdio.new([@config["rdio_key"], @config["rdio_secret"]], @config["rdio_auth_token"])
@@ -493,8 +505,6 @@ source. In the case of Rdio it has to authenticate with OAuth.
       
 
 
-13
-14
 15
 16
 17
@@ -504,10 +514,12 @@ source. In the case of Rdio it has to authenticate with OAuth.
 21
 22
 23
-24
+24 +25 +26
-
# File 'lib/lyricli/sources/rdio.rb', line 13
+      
# File 'lib/lyricli/sources/rdio.rb', line 15
 
 def self.enable
   # Validation Code
@@ -553,13 +565,13 @@ The reset method resets any configurations it may have
       
 
 
-44
-45
-46
-47
+47 +48 +49 +50
-
# File 'lib/lyricli/sources/rdio.rb', line 44
+      
# File 'lib/lyricli/sources/rdio.rb', line 47
 
 def self.reset
   @config = Configuration.instance
@@ -623,15 +635,15 @@ A hash containing the current `:song` and `:artist`.
       
 
 
-36
-37
-38
 39
 40
-41
+41 +42 +43 +44
-
# File 'lib/lyricli/sources/rdio.rb', line 36
+      
# File 'lib/lyricli/sources/rdio.rb', line 39
 
 def current_track
   response = @rdio.call('currentUser', {'extras' => 'lastSongPlayed'})
@@ -649,7 +661,7 @@ A hash containing the current `:song` and `:artist`.