Skip to content

Commit

Permalink
#226 add option to set beginning of a service on a saturday
Browse files Browse the repository at this point in the history
  • Loading branch information
ildacheu committed Mar 18, 2021
1 parent edef0c9 commit a0d9bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/app/models/service.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# frozen_string_literal: true

# rubocop:disable Metrics/ClassLength
class Service < ApplicationRecord
# :reek:TooManyMethods

# :reek:TooManyMethods
class Service < ApplicationRecord
FRIDAY_WEEKDAY = Date::DAYNAMES.index('Friday').freeze
MONDAY_WEEKDAY = Date::DAYNAMES.index('Monday').freeze
SATURDAY_WEEKDAY = Date::DAYNAMES.index('Saturday').freeze
Expand Down

0 comments on commit a0d9bbe

Please sign in to comment.