Sha256: 321764683acda4b5f394da576ca8a91ad074eda6fd4beba31905d2e4ff19d17f

Contents?: true

Size: 661 Bytes

Versions: 4

Compression:

Stored size: 661 Bytes

Contents

# typed: strict
# frozen_string_literal: true

module Vigiles
  module Archive
    class Parameter < T::Struct
      class Visibility < T::Enum
        enums do
          PersonallyIdentifiableInformation = new("personally_identifiable_information")
          AuthorizationKey = new("authorization_key")
          Password = new("password")
        end
      end

      class Source < T::Enum
        enums do
          Internal = new("internal")
          External = new("external")
        end
      end

      const :visibility, Visibility
      const :encrypted,  T::Boolean
      const :source,     Source
      const :name,       String
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vigiles-0.1.5 lib/vigiles/archive/parameter.rb
vigiles-0.1.4 lib/vigiles/archive/parameter.rb
vigiles-0.1.3 lib/vigiles/archive/parameter.rb
vigiles-0.1.2 lib/vigiles/archive/parameter.rb