class Period

Attributes

submission_rule_type[RW]

Public Instance Methods

is_grace_period?() click to toggle source
# File app/models/period.rb, line 26
def is_grace_period?
  self.submission_rule_type == 'GracePeriodSubmissionRule'
end
is_penalty_decay_period?() click to toggle source
# File app/models/period.rb, line 30
def is_penalty_decay_period?
  self.submission_rule_type == 'PenaltyDecayPeriodSubmissionRule'
end
is_penalty_period?() click to toggle source
# File app/models/period.rb, line 22
def is_penalty_period?
  self.submission_rule_type == 'PenaltyPeriodSubmissionRule'
end