Sha256: 58889d5d85679554c7291c3204f8362fa759e6f5a0e3af507526b2aebf1b17e9

Contents?: true

Size: 515 Bytes

Versions: 50

Compression:

Stored size: 515 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

    def can_ask_keys?
      raise NotImplementedError
    end

    def ask_keys(_variables)
      raise NotImplementedError
    end

    private

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

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
hako-1.5.2 lib/hako/env_provider.rb
hako-1.5.1 lib/hako/env_provider.rb
hako-1.5.0 lib/hako/env_provider.rb
hako-1.4.0 lib/hako/env_provider.rb
hako-1.3.3 lib/hako/env_provider.rb
hako-1.3.2 lib/hako/env_provider.rb
hako-1.3.1 lib/hako/env_provider.rb
hako-1.3.0 lib/hako/env_provider.rb
hako-1.2.1 lib/hako/env_provider.rb
hako-1.2.0 lib/hako/env_provider.rb