class Mallory::Configuration
Public Class Methods
backend()
click to toggle source
# File lib/mallory/configuration.rb, line 24 def self.backend @settings[:backend] end
backend=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 28 def self.backend=(other) @settings[:backend] = other end
certificate_manager()
click to toggle source
# File lib/mallory/configuration.rb, line 32 def self.certificate_manager @settings[:certificate_manager] end
certificate_manager=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 36 def self.certificate_manager=(other) @settings[:certificate_manager] = other end
connect_timeout()
click to toggle source
# File lib/mallory/configuration.rb, line 48 def self.connect_timeout @settings[:connect_timeout] end
connect_timeout=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 52 def self.connect_timeout=(other) @settings[:connect_timeout] = other end
inactivity_timeout()
click to toggle source
# File lib/mallory/configuration.rb, line 56 def self.inactivity_timeout @settings[:inactivity_timeout] end
inactivity_timeout=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 60 def self.inactivity_timeout=(other) @settings[:inactivity_timeout] = other end
logger()
click to toggle source
# File lib/mallory/configuration.rb, line 16 def self.logger @settings[:logger] end
logger=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 20 def self.logger=(other) @settings[:logger] = other end
port()
click to toggle source
# File lib/mallory/configuration.rb, line 40 def self.port @settings[:port] end
port=(other)
click to toggle source
# File lib/mallory/configuration.rb, line 44 def self.port=(other) @settings[:port] = other end
register() { |self| ... }
click to toggle source
# File lib/mallory/configuration.rb, line 9 def self.register if block_given? yield(self) end self end
reset!()
click to toggle source
# File lib/mallory/configuration.rb, line 64 def self.reset! @settings = {} end