Class: Gollum::Filter::PlantUML::Configuration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

#testObject

Returns the value of attribute test.



48
49
50
# File 'lib/gollum-lib/filter/plantuml.rb', line 48

def test
  @test
end

#urlObject

Returns the value of attribute url.



48
49
50
# File 'lib/gollum-lib/filter/plantuml.rb', line 48

def url
  @url
end

#verify_sslObject

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