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

Refactor AvailableHoursController and CalendarTimeCalculation #32

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

diegoaleman
Copy link

AvailableHoursController

  • refactor the logic inside the index method
    • main logic now at available_schedules
    • create private methods for frequently used CalendarTimeCalculation calls
    • use schedule_ends variable to make conditional easier to read
  • fix line that exceeded 80 chars

CalendarTimeCalculation

  • fix line that exceeded 80 chars

**Apologies for the indentation error on the first two commits. My terminal was configured incorrectly. Issue is now fixed.

@JorgeGarciaxyz
Copy link
Contributor

Nice! Está bien, te vamos a mandar un correo para la segunda parte de la prueba 👍

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

Successfully merging this pull request may close these issues.

2 participants