diff options
| author | Steve Kemp <steve@steve.org.uk> | 2013-04-23 10:07:06 +0100 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2013-04-23 10:07:06 +0100 | 
| commit | 5a47cb23e6b6f7b778eab1b6350e6f34d5105455 (patch) | |
| tree | 72433b6e2545c445ad9de2b71a7740f5c92e1bc0 /lib | |
| parent | 996f885d208ae22f5178cbbfa0249233a1f1848e (diff) | |
  Allow the settings object to retrieve the name of the beanstalkd tube.
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/custodian/settings.rb | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb index 9ec0867..b37e9e4 100644 --- a/lib/custodian/settings.rb +++ b/lib/custodian/settings.rb @@ -101,6 +101,16 @@ module Custodian      end +    # +    # The name of the beanstalkd tube we'll use +    # +    def queue_name +      _load() unless( _loaded? ) + +      @settings['queue_name'] || "Custodian" +    end + +      # | 
