Module: Artsy::EventService::Config

Extended by:
Config
Included in:
Config
Defined in:
lib/artsy-eventservice/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#app_nameObject

Returns the value of attribute app_name.



8
9
10
# File 'lib/artsy-eventservice/config.rb', line 8

def app_name
  @app_name
end

#confirms_enabledObject

Returns the value of attribute confirms_enabled.



16
17
18
# File 'lib/artsy-eventservice/config.rb', line 16

def confirms_enabled
  @confirms_enabled
end

#event_stream_enabledObject

Returns the value of attribute event_stream_enabled.



9
10
11
# File 'lib/artsy-eventservice/config.rb', line 9

def event_stream_enabled
  @event_stream_enabled
end

#rabbitmq_urlObject

Returns the value of attribute rabbitmq_url.



10
11
12
# File 'lib/artsy-eventservice/config.rb', line 10

def rabbitmq_url
  @rabbitmq_url
end

#tlsObject

Returns the value of attribute tls.



11
12
13
# File 'lib/artsy-eventservice/config.rb', line 11

def tls
  @tls
end

#tls_ca_certificateObject

Returns the value of attribute tls_ca_certificate.



12
13
14
# File 'lib/artsy-eventservice/config.rb', line 12

def tls_ca_certificate
  @tls_ca_certificate
end

#tls_certObject

Returns the value of attribute tls_cert.



13
14
15
# File 'lib/artsy-eventservice/config.rb', line 13

def tls_cert
  @tls_cert
end

#tls_keyObject

Returns the value of attribute tls_key.



14
15
16
# File 'lib/artsy-eventservice/config.rb', line 14

def tls_key
  @tls_key
end

#verify_peerObject

Returns the value of attribute verify_peer.



15
16
17
# File 'lib/artsy-eventservice/config.rb', line 15

def verify_peer
  @verify_peer
end

Instance Method Details

#resetObject



18
19
20
21
22
23
24
25
26
27
28
# File 'lib/artsy-eventservice/config.rb', line 18

def reset
  self.app_name = nil
  self.event_stream_enabled = false
  self.rabbitmq_url = nil
  self.tls = nil
  self.tls_ca_certificate = nil
  self.tls_cert = nil
  self.tls_key = nil
  self.verify_peer = nil
  self.confirms_enabled = true
end