Sha256: 27f8057be5b05aa78efe88b1c983ad99465c321cac203bf71a672d841e65a641
Contents?: true
Size: 728 Bytes
Versions: 2
Compression:
Stored size: 728 Bytes
Contents
# frozen_string_literal: true require "dry/schema" Dry::Schema.load_extensions :monads module Pennyworth module Configuration Contract = Dry::Schema.Params do optional(:alfred_preferences).filled :string required(:inflections).array :hash required(:git_hub_api_url).filled :string optional(:git_hub_organization).filled :string optional(:git_hub_user).filled :string required(:http_statuses_url).filled :string required(:htmx_examples_uri).filled :string required(:htmx_references_uri).filled :string required(:ruby_gems_api_url).filled :string optional(:ruby_gems_owner).filled :string required(:standard_gems_api_url).filled :string end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pennyworth-17.4.1 | lib/pennyworth/configuration/contract.rb |
pennyworth-17.4.0 | lib/pennyworth/configuration/contract.rb |