Class: VAProfile::V2::ContactInformation::Configuration

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

Constant Summary

Constants inherited from Configuration

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 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



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

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

#mock_enabled?Boolean

Returns:

  • (Boolean)


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

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

#service_nameObject



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

def service_name
  'VAProfile/V2/ContactInformation'
end