lib/almanack/configuration.rb in almanack-1.1.2 vs lib/almanack/configuration.rb in almanack-1.1.3.rc1
- old
+ new
@@ -56,9 +56,13 @@
def add_ical_feed(url)
add_event_source EventSource::IcalFeed.new(url, connection: connection)
end
+ def add_ical(io)
+ add_event_source EventSource::Ical.from(io)
+ end
+
def add_events(events)
add_event_source EventSource::Static.new(events)
end
def add_meetup_group(options)