Class: VAProfile::ContactInformation::Configuration

Inherits:
VAProfile::Configuration show all
Defined in:
lib/va_profile/contact_information/configuration.rb

Constant Summary

Constants inherited from VAProfile::Configuration

VAProfile::Configuration::SETTINGS

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 VAProfile::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, #current_module, #request_options, #service_exception

Instance Method Details

#base_pathObject



10
11
12
# File 'lib/va_profile/contact_information/configuration.rb', line 10

def base_path
  "#{VAProfile::Configuration::SETTINGS.url}/contact-information-hub/cuf/contact-information/v1"
end

#mock_enabled?Boolean

Returns:

  • (Boolean)


18
19
20
# File 'lib/va_profile/contact_information/configuration.rb', line 18

def mock_enabled?
  VAProfile::Configuration::SETTINGS.contact_information.mock || false
end

#service_nameObject



14
15
16
# File 'lib/va_profile/contact_information/configuration.rb', line 14

def service_name
  'VAProfile/ContactInformation'
end