Skip to content

Instantly share code, notes, and snippets.

@patrykkalinowski
Created June 23, 2015 09:49
Show Gist options
  • Save patrykkalinowski/e2630bf20a031dbe593e to your computer and use it in GitHub Desktop.
Save patrykkalinowski/e2630bf20a031dbe593e to your computer and use it in GitHub Desktop.
if trial?
scheduler = Rufus::Scheduler.new
date = Date.today
scheduler.in '10d' do
trial = Trial.new(customer[:id], customer[:name], date)
trial.check_activity
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment