Module: Diffend::Configs::Fetcher
- Defined in:
- lib/diffend/configs/fetcher.rb
Overview
Class responsible for fetching the config from .diffend.yml
Class Method Summary collapse
-
.call(logger, plugin_path, build_path) ⇒ Hash
Details from configuration file.
Class Method Details
.call(logger, plugin_path, build_path) ⇒ Hash
Returns details from configuration file.
20 21 22 23 24 25 26 27 |
# File 'lib/diffend/configs/fetcher.rb', line 20 def call(logger, plugin_path, build_path) build(plugin_path, build_path) rescue Errors::MalformedConfigurationFile (build_path) .tap(&logger.method(:fatal)) raise Diffend::Errors::HandledException end |