Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Added method #in_good_health? to organization model #1724

Merged
merged 1 commit into from
Dec 30, 2018

Conversation

BenEmdon
Copy link
Contributor

What

This Pr proposes we add the method #in_good_health?, which performs a trivial check to see if a an organization has a hook id. This method will be used to prevent users from trying to use classrooms that don't have webhooks (so will invoked a lot).

Part of #1647

  • define a method to check if an Organization meets all minimum requirements
    • if webhooks are present and enabled

@BenEmdon BenEmdon requested a deployment to production December 30, 2018 17:11 Abandoned
@BenEmdon BenEmdon merged commit 6d3fa46 into master Dec 30, 2018
@BenEmdon BenEmdon deleted the classroom_health_method branch December 30, 2018 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants