Sha256: 67936265ff7b06b1bdc735efb71469b7909897406ffe7467799fa7376007f768

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Vigiles
  module Archive
    class Metadata < T::Struct
      const :request_env, T::Hash[T.untyped, T.untyped]

      sig { params(request_env: T::Hash[T.untyped, T.untyped]).returns(Metadata) }
      def self.from(request_env)
        Metadata.new(request_env:)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vigiles-0.1.5 lib/vigiles/archive/metadata.rb
vigiles-0.1.4 lib/vigiles/archive/metadata.rb