Class: VAProfile::HealthBenefit::Configuration
- Inherits:
-
Configuration
- Object
- Common::Client::Configuration::Base
- Common::Client::Configuration::REST
- Configuration
- VAProfile::HealthBenefit::Configuration
- Defined in:
- lib/va_profile/health_benefit/configuration.rb
Constant Summary
Constants inherited from Configuration
Instance Attribute Summary
Attributes inherited from Common::Client::Configuration::Base
#base_request_headers, #open_timeout, #read_timeout, #request_types, #user_agent
Instance Method Summary collapse
Methods inherited from Configuration
base_request_headers, #connection
Methods inherited from Common::Client::Configuration::Base
#breakers_error_threshold, #breakers_exception_handler, #breakers_matcher, #breakers_service, #create_new_breakers_service, #request_options, #service_exception
Instance Method Details
#base_path ⇒ Object
8 9 10 |
# File 'lib/va_profile/health_benefit/configuration.rb', line 8 def base_path "#{Settings.vet360.url}/health-benefit/health-benefit" end |
#mock_enabled? ⇒ Boolean
16 17 18 |
# File 'lib/va_profile/health_benefit/configuration.rb', line 16 def mock_enabled? Settings.vet360&.health_benefit&.mock || false end |
#service_name ⇒ Object
12 13 14 |
# File 'lib/va_profile/health_benefit/configuration.rb', line 12 def service_name 'VAProfile/HealhtBenefit' end |