Class: PublisherRenoteDac::Configuration
- Inherits:
-
Object
- Object
- PublisherRenoteDac::Configuration
- Defined in:
- lib/publisher_renote_dac/configuration.rb
Instance Attribute Summary collapse
-
#base_controller ⇒ Object
Returns the value of attribute base_controller.
-
#dev_base_url ⇒ Object
Returns the value of attribute dev_base_url.
-
#exchange ⇒ Object
Returns the value of attribute exchange.
-
#exchange_type ⇒ Object
Returns the value of attribute exchange_type.
-
#heartbeat ⇒ Object
Returns the value of attribute heartbeat.
-
#password ⇒ Object
Returns the value of attribute password.
-
#prod_base_url ⇒ Object
Returns the value of attribute prod_base_url.
-
#rabbitmq_queue ⇒ Object
Returns the value of attribute rabbitmq_queue.
-
#username ⇒ Object
Returns the value of attribute username.
-
#vhost ⇒ Object
Returns the value of attribute vhost.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
6 7 8 9 10 11 12 13 14 15 16 17 |
# File 'lib/publisher_renote_dac/configuration.rb', line 6 def initialize @username = nil @password = nil @heartbeat = 2 @exchange = 'sneakers' @exchange_type = :direct @vhost = '/' @rabbitmq_queue = nil @base_controller = '::ApplicationController' @prod_base_url = nil @dev_base_url = nil end |
Instance Attribute Details
#base_controller ⇒ Object
Returns the value of attribute base_controller.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def base_controller @base_controller end |
#dev_base_url ⇒ Object
Returns the value of attribute dev_base_url.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def dev_base_url @dev_base_url end |
#exchange ⇒ Object
Returns the value of attribute exchange.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def exchange @exchange end |
#exchange_type ⇒ Object
Returns the value of attribute exchange_type.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def exchange_type @exchange_type end |
#heartbeat ⇒ Object
Returns the value of attribute heartbeat.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def heartbeat @heartbeat end |
#password ⇒ Object
Returns the value of attribute password.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def password @password end |
#prod_base_url ⇒ Object
Returns the value of attribute prod_base_url.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def prod_base_url @prod_base_url end |
#rabbitmq_queue ⇒ Object
Returns the value of attribute rabbitmq_queue.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def rabbitmq_queue @rabbitmq_queue end |
#username ⇒ Object
Returns the value of attribute username.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def username @username end |
#vhost ⇒ Object
Returns the value of attribute vhost.
4 5 6 |
# File 'lib/publisher_renote_dac/configuration.rb', line 4 def vhost @vhost end |