Module: Artsy::EventService::Config
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#confirms_enabled ⇒ Object
Returns the value of attribute confirms_enabled.
-
#event_stream_enabled ⇒ Object
Returns the value of attribute event_stream_enabled.
-
#rabbitmq_url ⇒ Object
Returns the value of attribute rabbitmq_url.
-
#tls ⇒ Object
Returns the value of attribute tls.
-
#tls_ca_certificate ⇒ Object
Returns the value of attribute tls_ca_certificate.
-
#tls_cert ⇒ Object
Returns the value of attribute tls_cert.
-
#tls_key ⇒ Object
Returns the value of attribute tls_key.
-
#verify_peer ⇒ Object
Returns the value of attribute verify_peer.
Instance Method Summary collapse
Instance Attribute Details
#app_name ⇒ Object
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_enabled ⇒ Object
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_enabled ⇒ Object
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_url ⇒ Object
Returns the value of attribute rabbitmq_url.
10 11 12 |
# File 'lib/artsy-eventservice/config.rb', line 10 def rabbitmq_url @rabbitmq_url end |
#tls ⇒ Object
Returns the value of attribute tls.
11 12 13 |
# File 'lib/artsy-eventservice/config.rb', line 11 def tls @tls end |
#tls_ca_certificate ⇒ Object
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_cert ⇒ Object
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_key ⇒ Object
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_peer ⇒ Object
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
#reset ⇒ Object
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 |