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

Blackouts #170

Merged
merged 5 commits into from
May 19, 2015
Merged

Blackouts #170

merged 5 commits into from
May 19, 2015

Conversation

dmurray-r7
Copy link
Contributor

Silo and site level blackout Gem changes

}
repeat_hash= {
type: @blackout_type,
interval: @blackout_interval }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use consistent formatting on the hashes, lining up the brackets etc.

attr_accessor :blackout

def initialize(blackout)
@global_blackout = Array(blackout)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should this just be @blackout or do we need to add an attr_ for global_blackout as well?
I might just be missing something due to a case of the Mondays.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be something else. We have a GlobalBlackout object what does a blackout of a GlobalBlackout mean? is it the schedule of a GlobalBlackout? if so then it should be called schedule. That way it's GlobalBlackout.schedule as oppose to GlobalBlackout.blackout.

erran-r7 added a commit that referenced this pull request May 19, 2015
@erran-r7 erran-r7 merged commit 70bd9fd into master May 19, 2015
@erran-r7 erran-r7 deleted the blackouts branch May 19, 2015 13:25
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.

6 participants