class Hubba::Configuration

Public Instance Methods

cache_dir() click to toggle source

todo/check: rename to/use tmp_dir - why? why not?

# File lib/hubba/config.rb, line 8
def cache_dir()         @cache_dir || './cache'; end
cache_dir=( value ) click to toggle source
# File lib/hubba/config.rb, line 9
def cache_dir=( value ) @cache_dir = value;      end
data_dir() click to toggle source
# File lib/hubba/config.rb, line 4
def data_dir()          @data_dir || './data'; end
data_dir=( value ) click to toggle source
# File lib/hubba/config.rb, line 5
def data_dir=( value )  @data_dir = value;     end
password() click to toggle source
# File lib/hubba/config.rb, line 18
def password()         @password || ENV[ 'HUBBA_PASSWORD' ]; end
password=( value ) click to toggle source
# File lib/hubba/config.rb, line 20
def password=( value ) @password = value;                end
token() click to toggle source

try default setup via ENV variables

# File lib/hubba/config.rb, line 13
def token()            @token || ENV[ 'HUBBA_TOKEN' ]; end
token=( value ) click to toggle source
# File lib/hubba/config.rb, line 14
def token=( value )    @token = value;                 end
user() click to toggle source

todo/check: use HUBBA_LOGIN - why? why not?

# File lib/hubba/config.rb, line 17
def user()             @user     || ENV[ 'HUBBA_USER' ]; end
user=( value ) click to toggle source
# File lib/hubba/config.rb, line 19
def user=( value )     @user     = value;                end