Sha256: 946853a855b0959ac9aa1add3d677cfad0aae8f97dcc95e65cf05a9c045cf1ce

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

namespace :meetalendar do
  desc 'Syncronize selected meetup groups events with the configured google calendar.'
  task :syncronize, [:google_calendar_id] => :environment do |task, args|
    require 'comfy/admin/meetalendar/meetups_calendar_syncer'
    Comfy::Admin::Meetalendar::MeetupsCalendarSyncer.sync_meetups_to_calendar(Comfy::Admin::Meetalendar::MeetupsCalendarSyncer.gather_selected_events(Time.now), args[:google_calendar_id], Time.now, Time.now + 1.year)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
meetalendar-0.1.0 lib/tasks/meetalendar_tasks.rake
meetalendar-0.0.4 lib/tasks/meetalendar_tasks.rake
meetalendar-0.0.3 lib/tasks/meetalendar_tasks.rake