Sha256: c33982bbfffea9bab4a372cd6d0ca4691bdb82472dce5454ac182b06862deb75
Contents?: true
Size: 363 Bytes
Versions: 9
Compression:
Stored size: 363 Bytes
Contents
class Plugins::Sidebars::UpcomingController < Sidebars::ComponentPlugin description 'Events from <a href="http://www.upcoming.org">upcoming.org</a>' setting :feed, '', :label => 'Feed URL' setting :count, 4, :label => 'Items Limit' def content response.lifetime = 6.hours @upcoming=check_cache(Upcoming, @sb_config['feed']) rescue nil end end
Version data entries
9 entries across 9 versions & 1 rubygems