Sha256: 174f3e8716c5bfe0a210bd283d1a017a30a81e6a91b18101cc7b8b38240c37f6

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

require "pathname"
require "json"
require "ri_cal"
require "addressable/uri"
require "faraday"

require "almanack/version"
require "almanack/configuration"
require "almanack/calendar"
require "almanack/event"
require "almanack/event_source/static"
require "almanack/event_source/meetup_group"
require "almanack/event_source/ical_feed"

module Almanack
  class << self
    def config(&block)
      @config ||= Configuration.new
      yield @config if block_given?
      @config
    end

    def calendar
      @calendar ||= Calendar.new(config)
    end

    def reset!
      config.reset!
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
almanack-1.0.5 lib/almanack.rb
almanack-1.0.4 lib/almanack.rb