Class: VAProfile::AddressValidation::Configuration
- Inherits:
-
Configuration
- Object
- Common::Client::Configuration::Base
- Common::Client::Configuration::REST
- Configuration
- VAProfile::AddressValidation::Configuration
- Defined in:
- lib/va_profile/address_validation/configuration.rb
Constant Summary
Constants inherited from Configuration
Instance Attribute Summary
Attributes inherited from Common::Client::Configuration::Base
#open_timeout, #read_timeout, #request_types, #user_agent
Instance Method Summary collapse
Methods inherited from Configuration
base_request_headers, #connection, #mock_enabled?
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_path ⇒ Object
8 9 10 |
# File 'lib/va_profile/address_validation/configuration.rb', line 8 def base_path "https://#{VAProfile::Configuration::SETTINGS.address_validation.hostname}/services/address_validation/v2/" end |
#base_request_headers ⇒ Object
12 13 14 |
# File 'lib/va_profile/address_validation/configuration.rb', line 12 def base_request_headers super.merge('apiKey' => VAProfile::Configuration::SETTINGS.address_validation.api_key) end |
#service_name ⇒ Object
16 17 18 |
# File 'lib/va_profile/address_validation/configuration.rb', line 16 def service_name 'VAProfile/AddressValidation' end |