Sha256: c1b0264f564f433a6fa28b9692e6c9e476aacb5fab8ac11e1b47d293153d6ab5
Contents?: true
Size: 653 Bytes
Versions: 3
Compression:
Stored size: 653 Bytes
Contents
module CapistranoSentinel class Configuration SETTINGS = [ :secure, :host, :port, :path, :auto_pong, :read_buffer_size, :reconnect, :retry_time, :wait_execution, :hook_stdin_and_stdout ] SETTINGS.each do |setting| attr_reader setting attr_accessor setting end def initialize @secure = false @host = '0.0.0.0' @port = 1234 @path = '/ws' @auto_pong = true @read_buffer_size = 2048 @reconnect = false @retry_time = 0 @wait_execution = true @hook_stdin_and_stdout = true end end end
Version data entries
3 entries across 3 versions & 1 rubygems