0.0
No release in over a year
Restricts your Rails app to only provide requests during business hours using a Rack middleware
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 7.0.4
 Project Readme

NineToFive

Rails plugin to enforce business hours.

Usage

To customize the response for outside of business hours, add the following to an intializer.

NineToFive.start_hour = 9
NineToFive.end_hour = 17
NineToFive.response = "Please come back during business hours."

Installation

Add this line to your application's Gemfile:

gem "nine_to_five"

And then execute:

$ bundle

Or install it yourself as:

$ gem install nine_to_five

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.