class Octo::Rules

Constants

ALTERNATE
DAILY

Types of conversions

WEEKENDS
WEEKLY

Public Class Methods

duration_types() click to toggle source

Fetches the types of durations @return [Hash] The name and its duration value

# File lib/octocore-mongo/models/enterprise/rules.rb, line 33
def duration_types
  {
    Octo::Rules::DAILY => 'Daily',
    Octo::Rules::WEEKLY => 'Weekly',
    Octo::Rules::WEEKENDS => 'Weekends',
    Octo::Rules::ALTERNATE => 'Alternate Days'
  }
end