Class: HealthCheckToolbox::Services::Wso2
- Inherits:
-
BaseHealthCheck
- Object
- BaseHealthCheck
- HealthCheckToolbox::Services::Wso2
- Defined in:
- lib/health_check_toolbox/services/wso2.rb
Constant Summary
Constants inherited from BaseHealthCheck
BaseHealthCheck::STATUS_ERROR, BaseHealthCheck::STATUS_OK
Instance Attribute Summary
Attributes inherited from BaseHealthCheck
Instance Method Summary collapse
Methods inherited from BaseHealthCheck
Constructor Details
This class inherits a constructor from HealthCheckToolbox::Services::BaseHealthCheck
Instance Method Details
#try_connect ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/health_check_toolbox/services/wso2.rb', line 9 def try_connect build_response( begin Wso2Toolbox::TokenManager.generate_token true rescue StandardError false end ) end |