Class: DocGenerationWrapper::Configuration
- Inherits:
-
Object
- Object
- DocGenerationWrapper::Configuration
- Defined in:
- lib/doc_generation_wrapper/configuration.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
-
#service_host ⇒ Object
Returns the value of attribute service_host.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 |
# File 'lib/doc_generation_wrapper/configuration.rb', line 5 def initialize @adapter = :doc_raptor @service_host = 'http://0.0.0.0:5000' end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter.
3 4 5 |
# File 'lib/doc_generation_wrapper/configuration.rb', line 3 def adapter @adapter end |
#service_host ⇒ Object
Returns the value of attribute service_host.
3 4 5 |
# File 'lib/doc_generation_wrapper/configuration.rb', line 3 def service_host @service_host end |