Sha256: 98955c56aaf6b6854b5fa6337d5cd99adbc5ffe19e78d08f69a4cceff2e3e809

Contents?: true

Size: 215 Bytes

Versions: 3

Compression:

Stored size: 215 Bytes

Contents

module ServiceTemplate
  class Authentication
    def self.password_header
      raise 'header_password_not_configured' unless ENV['HEADER_PASSWORD']
      { 'Password' => ENV['HEADER_PASSWORD'] }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
service_template-0.5.2 lib/service_template/authentication.rb
service_template-0.5.1 lib/service_template/authentication.rb
service_template-0.5.0 lib/service_template/authentication.rb