Class: BID::Awards::Configuration
Instance Attribute Summary
#base_request_headers, #open_timeout, #read_timeout, #request_types, #user_agent
Instance Method Summary
collapse
#connection
#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/bid/awards/configuration.rb', line 8
def base_path
"#{Settings.bid.awards.base_url}/api/v1/awards/"
end
|
#mock_enabled? ⇒ Boolean
16
17
18
|
# File 'lib/bid/awards/configuration.rb', line 16
def mock_enabled?
Settings.bid.awards.mock || false
end
|
#service_name ⇒ Object
12
13
14
|
# File 'lib/bid/awards/configuration.rb', line 12
def service_name
'BID/Awards'
end
|