Class: Synapse::Config::Haproxy

Inherits:
Object
  • Object
show all
Includes:
Emitting, Updateable
Defined in:
lib/synapse/config/haproxy.rb

Instance Method Summary collapse

Methods included from Updateable

#after_write, #inform, #update

Constructor Details

#initializeHaproxy

Returns a new instance of Haproxy.



10
11
12
13
14
15
16
17
18
19
20
# File 'lib/synapse/config/haproxy.rb', line 10

def initialize
  @haproxy={
    do_reloads:true,
    do_socket:true,
    do_writes:true,
    defaults:[],
    global:[],
    extra_sections:{}
  }
  observe :haproxy
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Synapse::Config::Emitting