Sha256: 5da2745263ccd7a0954c29e2ee92a114c80949ea53c1be7cda44dd047d742450

Contents?: true

Size: 514 Bytes

Versions: 5

Compression:

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

5 entries across 5 versions & 1 rubygems

Version Path
hako-1.1.0 lib/hako/env_provider.rb
hako-1.0.1 lib/hako/env_provider.rb
hako-1.0.0 lib/hako/env_provider.rb
hako-0.27.0 lib/hako/env_provider.rb
hako-0.26.0 lib/hako/env_provider.rb