Sha256: d1dd1b20b7ca694d76a6b7be7ee4eb9ab76ab8dfeb42f9dbde8af2ea542bed67
Contents?: true
Size: 1015 Bytes
Versions: 2
Compression:
Stored size: 1015 Bytes
Contents
# frozen_string_literal: true require 'time' require 'pry' require 'roko/source/github/report_events' require 'roko/source/google_calendar/report_events' require 'roko/source/slack/report_events' require 'roko/source/jira/report_events' require 'roko/source/confluence/report_events' require_relative 'configurable' module Roko module Source # daily report events from several sources module Events extend Configurable class << self def github Github::ReportEvents.new(self).fetch end def google_calendar GoogleCalendar::ReportEvents.new(self).fetch end def jira Jira::ReportEvents.new(self).fetch end def slack Slack::ReportEvents.new(self).fetch end def confluence Confluence::ReportEvents.new(self).fetch end def all (github + google_calendar + slack + confluence + jira).sort_by(&:created_at) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
roko-0.2.1 | lib/roko/source/events.rb |
roko-0.2.0 | lib/roko/source/events.rb |