Class: EMIS::PaymentConfiguration
- Inherits:
-
Configuration
- Object
- Common::Client::Configuration::Base
- Common::Client::Configuration::SOAP
- Configuration
- EMIS::PaymentConfiguration
- Defined in:
- lib/emis/payment_configuration.rb
Overview
Configuration for PaymentService includes API URL and breakers service name.
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
-
#base_path ⇒ String
Payment Service URL.
-
#service_name ⇒ String
Payment Service breakers name.
Methods inherited from Configuration
#allow_missing_certs?, #connection, ssl_cert_path, ssl_key_path, #ssl_options
Methods inherited from Common::Client::Configuration::SOAP
#allow_missing_certs?, #ssl_cert, #ssl_key
Methods inherited from Common::Client::Configuration::Base
#breakers_error_threshold, #breakers_exception_handler, #breakers_matcher, #breakers_service, #create_new_breakers_service, #request_options, #service_exception
Instance Method Details
#base_path ⇒ String
Payment Service URL
11 12 13 |
# File 'lib/emis/payment_configuration.rb', line 11 def base_path URI.join(Settings.emis.host, Settings.emis.payment_url.v1).to_s end |
#service_name ⇒ String
Payment Service breakers name
19 20 21 |
# File 'lib/emis/payment_configuration.rb', line 19 def service_name 'EmisPayment' end |