invites_helper.rb 217 B

1234567891011
  1. # frozen_string_literal: true
  2. module InvitesHelper
  3. def invites_max_uses_options
  4. [1, 5, 10, 25, 50, 100]
  5. end
  6. def invites_expires_options
  7. [30.minutes, 1.hour, 6.hours, 12.hours, 1.day, 1.week]
  8. end
  9. end