Class: Gollum::Filter::PlantUML::Configuration
- Inherits:
-
Object
- Object
- Gollum::Filter::PlantUML::Configuration
- Defined in:
- lib/gollum-lib/filter/plantuml.rb
Overview
Configuration class used to change the behaviour of the PlatnUML filter.
url: PlantUML server URL (e.g. http://localhost:8080)
test: Set to true when running tests to skip the server check.
Instance Attribute Summary collapse
-
#test ⇒ Object
Returns the value of attribute test.
-
#url ⇒ Object
Returns the value of attribute url.
-
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
50 51 52 53 54 |
# File 'lib/gollum-lib/filter/plantuml.rb', line 50 def initialize @url = DEFAULT_URL @verify_ssl = true @test = false end |
Instance Attribute Details
#test ⇒ Object
Returns the value of attribute test.
48 49 50 |
# File 'lib/gollum-lib/filter/plantuml.rb', line 48 def test @test end |
#url ⇒ Object
Returns the value of attribute url.
48 49 50 |
# File 'lib/gollum-lib/filter/plantuml.rb', line 48 def url @url end |
#verify_ssl ⇒ Object
Returns the value of attribute verify_ssl.
48 49 50 |
# File 'lib/gollum-lib/filter/plantuml.rb', line 48 def verify_ssl @verify_ssl end |