/nine_to_five

Primary LanguageRubyMIT LicenseMIT

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.