Sha256: f01c5c4e6dc8678e2ba8511a16962634a698432dab16c5b27547bc714d6e5839
Contents?: true
Size: 665 Bytes
Versions: 5
Compression:
Stored size: 665 Bytes
Contents
require 'almanack/server' Almanack.config do |c| c.title = <%= title.inspect %> c.theme = "<%= theme_name %>" # available: <%= available_themes.join(', ') %> c.days_lookahead = 30 # Don't fetch event information more than once every 15 minutes c.cache_responses = true c.cache_expiry = 900 # seconds # For a Google Calendar, find the "iCal" link under your Calendar's settings # c.add_ical_feed 'https://example.com/basic.ics' # Static events c.add_events [ { title: "Edit my calendar's settings", description: "Edit the configuration at #{__FILE__}", start_time: Time.now + 30 * 60 } ] end run Almanack::Server
Version data entries
5 entries across 5 versions & 1 rubygems