Class: Ecfr::RendererService::Base
- Inherits:
-
Base
- Object
- Base
- Ecfr::RendererService::Base
show all
- Defined in:
- lib/ecfr/renderer_service/base.rb
Constant Summary
collapse
- HTML_PATH =
used by Content and Diff subclasses
"v1/content"
Class Method Summary
collapse
Class Method Details
.base_url ⇒ Object
10
11
12
|
# File 'lib/ecfr/renderer_service/base.rb', line 10
def self.base_url
Ecfr.config.renderer_service_url || Ecfr.config.base_url
end
|
.service_name ⇒ Object
18
19
20
|
# File 'lib/ecfr/renderer_service/base.rb', line 18
def self.service_name
"Renderer Service"
end
|
.service_path ⇒ Object
14
15
16
|
# File 'lib/ecfr/renderer_service/base.rb', line 14
def self.service_path
Ecfr.config.renderer_service_path || "/api/renderer"
end
|