Sha256: 521d7fbb992858a8d45986db1195b48df35c5d7b3ae737670db24cf32fb151dc
Contents?: true
Size: 385 Bytes
Versions: 7
Compression:
Stored size: 385 Bytes
Contents
# frozen_string_literal: true require 'dry-types' require 'pg_export/lib/pg_export/value_objects/dump_file' class PgExport module Types include Dry::Types() DumpName = Strict::String.constrained(format: /.+_20[0-9]{6}_[0-9]{6}\Z/) DumpType = Types::Coercible::String.enum('plain', 'encrypted') DumpFile = Types.Instance(PgExport::ValueObjects::DumpFile) end end
Version data entries
7 entries across 7 versions & 1 rubygems