module MAuth::ConfigFile
Constants
- GITHUB_URL
Public Class Methods
load(path)
click to toggle source
# File lib/mauth/client.rb, line 249 def self.load(path) unless File.exist?(path) raise "File #{path} not found. Please visit #{GITHUB_URL} for details." end @config[path] ||= YAML.load_file(path) unless @config[path] raise "File #{path} does not contain proper YAML information. Visit #{GITHUB_URL} for details." end @config[path] end