Class: IHub::Appointments::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
10
11
12
|
# File 'lib/ihub/appointments/configuration.rb', line 10
def base_path
"#{Settings.ihub.url}/WebParts/DEV/api/Appointments/1.0/json/ftpCRM/"
end
|
#mock_enabled? ⇒ Boolean
18
19
20
|
# File 'lib/ihub/appointments/configuration.rb', line 18
def mock_enabled?
Settings.ihub.appointments.mock || false
end
|
#service_name ⇒ Object
14
15
16
|
# File 'lib/ihub/appointments/configuration.rb', line 14
def service_name
'iHub/Appointments'
end
|