Sha256: 480dc68adcc23e8d1cb22e56fe5455c5bbb9242a890d1b8c74077108aaacc9bf

Contents?: true

Size: 381 Bytes

Versions: 49

Compression:

Stored size: 381 Bytes

Contents

# frozen_string_literal: true
require 'hako/error'

module Hako
  class EnvProvider
    class ValidationError < Error
    end

    def initialize(_root_path, _options)
      raise NotImplementedError
    end

    def ask(_variables)
      raise NotImplementedError
    end

    private

    def validation_error!(message)
      raise ValidationError.new(message)
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
hako-0.25.2 lib/hako/env_provider.rb
hako-0.25.1 lib/hako/env_provider.rb
hako-0.25.0 lib/hako/env_provider.rb
hako-0.24.0 lib/hako/env_provider.rb
hako-0.23.0 lib/hako/env_provider.rb
hako-0.22.0 lib/hako/env_provider.rb
hako-0.21.1 lib/hako/env_provider.rb
hako-0.21.0 lib/hako/env_provider.rb
hako-0.20.3 lib/hako/env_provider.rb
hako-0.20.2 lib/hako/env_provider.rb
hako-0.20.1 lib/hako/env_provider.rb
hako-0.20.0 lib/hako/env_provider.rb
hako-0.19.0 lib/hako/env_provider.rb
hako-0.18.1 lib/hako/env_provider.rb
hako-0.18.0 lib/hako/env_provider.rb
hako-0.17.2 lib/hako/env_provider.rb
hako-0.17.1 lib/hako/env_provider.rb
hako-0.17.0 lib/hako/env_provider.rb
hako-0.16.0 lib/hako/env_provider.rb
hako-0.15.3 lib/hako/env_provider.rb