Module: Github::Hooker::Config

Defined in:
lib/github-hooker/config.rb

Class Method Summary collapse

Class Method Details

.configObject



10
11
12
# File 'lib/github-hooker/config.rb', line 10

def self.config
  @config ||= YAML.load_file(File.expand_path(filename))
end

.filenameObject



6
7
8
# File 'lib/github-hooker/config.rb', line 6

def self.filename
  "~/.github-hooker.yml"
end