Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Business Hours per request #96

Closed
adpande opened this issue Nov 12, 2014 · 2 comments
Closed

Business Hours per request #96

adpande opened this issue Nov 12, 2014 · 2 comments

Comments

@adpande
Copy link

adpande commented Nov 12, 2014

Hello David,

Thanks for the great work! We are using this gem in our rails application to generate reports.
Now some of our reports need to be calculated on 24 hrs working day and some for 8 hrs. Users generate these reports parallely. Right now the changes we are making are reflecting across the application. We were unable to change business hrs on per request basis. Is there any way to change it on per request basis? So that each of our user have different business hrs configuration?

Thanks in advance!

Regards,
Abhishek

@craiglittle
Copy link

Hey, @adpande! I don't think business_time currently supports this feature, but we just released a similar gem called biz that supports multiple schedule configurations.

Check out the documentation and feel free to shoot me an email or open an issue if you have any questions.

@bokmann
Copy link
Owner

bokmann commented Apr 12, 2015

This has been a request several times, but multi-tenant applications are outside the scope of this gem. The major point of this gem is to have a small dsl that simply mirrors ActiveSupport's other method calls, just adding 'business' to them, and that makes per-request configuration difficult. I think @craiglittle's biz gem will suit you.

@bokmann bokmann closed this as completed Apr 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants