lib/robut/plugin/rdio/server.rb in robut-0.2.1 vs lib/robut/plugin/rdio/server.rb in robut-0.3.0

- old
+ new

@@ -1,17 +1,18 @@ require 'sinatra' require 'json' -class Robut::Plugin::Rdio < Robut::Plugin::Base - +class Robut::Plugin::Rdio + include Robut::Plugin + # A simple server to communicate new Rdio sources to the Web # Playback API. The client will update # Robut::Plugin::Rdio::Server.queue with any new sources, and a call # to /queue.json will pull those new sources as a json object. class Server < Sinatra::Base set :root, File.dirname(__FILE__) - + class << self # A list of items that haven't been fetched by the web playback # API yet. attr_accessor :queue