Method: Sentry::Cron::MonitorSchedule::Interval#initialize

Defined in:
lib/sentry/cron/monitor_schedule.rb

#initialize(value, unit) ⇒ Interval

Returns a new instance of Interval.



31
32
33
34
# File 'lib/sentry/cron/monitor_schedule.rb', line 31

def initialize(value, unit)
  @value = value
  @unit = unit
end