Module: Stars

Defined in:
lib/stars/client.rb,
lib/stars.rb,
lib/stars/post.rb,
lib/stars/config.rb,
lib/stars/services/convore.rb,
lib/stars/services/favstar.rb,
lib/stars/services/service.rb

Overview

stars: Why can’t we hardware-accelerate animated gifs? I thought this was the future.”, “pubDate”=>“Wed, 16 Feb 2011 05:56:32 +0000”, “guid”=>“favstar.fm/users/holman/status/37752168152825856?6”, “description”=>“Has been faved by 6 people<br /><br /><a href="favstar.fm/users/holman/status/37752168152825856">This tweet</a>&nbsp;&nbsp;&nbsp;<a href="favstar.fm/users/holman/recent">All Recent</a>”, “link”=>“favstar.fm/users/holman/status/37752168152825856

Defined Under Namespace

Classes: Client, Config, Convore, Favstar, Post, Service

Constant Summary collapse

VERSION =
'0.5.3'

Class Method Summary collapse

Class Method Details

.configObject



24
25
26
# File 'lib/stars.rb', line 24

def self.config
  @config ||= Config.new
end

.installed_servicesObject



32
33
34
# File 'lib/stars.rb', line 32

def self.installed_services
  config.keep.keys
end

.servicesObject



28
29
30
# File 'lib/stars.rb', line 28

def self.services
  %w(favstar convore)
end

.uninstalled_servicesObject



36
37
38
# File 'lib/stars.rb', line 36

def self.uninstalled_services
  services - installed_services
end