Sha256: afc9c9561de7faa74a8da08281fd2c41e2803832c0eebbb6371d37fc9d4aa66a
Contents?: true
Size: 350 Bytes
Versions: 13
Compression:
Stored size: 350 Bytes
Contents
module TryApi class ConfigParser class << self def read if File.exists?("#{ Rails.root }/config/try_api.yml") hash = YAML.load_file("#{ Rails.root }/config/try_api.yml") TryApi::Project.parse hash.with_indifferent_access else raise ConfigFileNotFound end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems