Class: Dude::HealthCheck
- Inherits:
-
Object
- Object
- Dude::HealthCheck
- Defined in:
- lib/dude/health_check.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/dude/health_check.rb', line 8 def call validate(:jira, enabled: Dude::SETTINGS.dig(:jira, :token)) do Dude::ProjectManagement::Jira::Client.new.health_check end validate(:trello, enabled: Dude::SETTINGS.dig(:trello, :token)) do Dude::ProjectManagement::Trello::Client.new.health_check end validate(:github, enabled: Dude::SETTINGS.dig(:github, :token)) do Dude::CodeManagement::Github::Client.new.health_check end end |