Class: Refried::Configuration

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

Overview

The Refried Configuration class

based in general on the configuration approach in https://github.com/nesquena/backburner MIT license

Constant Summary collapse

PRIORITY_LABELS =
{ :high => 0, :medium => 100, :low => 200 }

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



9
10
11
# File 'lib/refried/configuration.rb', line 9

def initialize
  @beanstalk_url     = "localhost"
end

Instance Attribute Details

#beanstalk_urlObject

beanstalk url connection



7
8
9
# File 'lib/refried/configuration.rb', line 7

def beanstalk_url
  @beanstalk_url
end