Class: PublisherRenoteDac::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/publisher_renote_dac/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_controllerObject

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_urlObject

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

#exchangeObject

Returns the value of attribute exchange.



4
5
6
# File 'lib/publisher_renote_dac/configuration.rb', line 4

def exchange
  @exchange
end

#exchange_typeObject

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

#heartbeatObject

Returns the value of attribute heartbeat.



4
5
6
# File 'lib/publisher_renote_dac/configuration.rb', line 4

def heartbeat
  @heartbeat
end

#passwordObject

Returns the value of attribute password.



4
5
6
# File 'lib/publisher_renote_dac/configuration.rb', line 4

def password
  @password
end

#prod_base_urlObject

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_queueObject

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

#usernameObject

Returns the value of attribute username.



4
5
6
# File 'lib/publisher_renote_dac/configuration.rb', line 4

def username
  @username
end

#vhostObject

Returns the value of attribute vhost.



4
5
6
# File 'lib/publisher_renote_dac/configuration.rb', line 4

def vhost
  @vhost
end