Sha256: 33c8a21dd5a1232f7e82ecb17adf8569e4739dd4a617372604a1e9b9e42fd962

Contents?: true

Size: 398 Bytes

Versions: 4

Compression:

Stored size: 398 Bytes

Contents

module Ufo::TaskDefinition::Helpers
  module Vars
    def env(text)
      Builder.new(text: text).env
    end
    alias_method :env_vars, :env
    alias_method :environment, :env

    def env_file(path)
      Builder.new(file: path).env
    end

    def secrets(text)
      Builder.new(text: text).secrets
    end

    def secrets_file(path)
      Builder.new(file: path).secrets
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ufo-6.2.4 lib/ufo/task_definition/helpers/vars.rb
ufo-6.2.3 lib/ufo/task_definition/helpers/vars.rb
ufo-6.2.2 lib/ufo/task_definition/helpers/vars.rb
ufo-6.2.1 lib/ufo/task_definition/helpers/vars.rb