Sha256: fc7eb12806be2d4352d94267cd07c5246813f03df14270aae6ac50aa1a977105

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

class Core::UseCases::Contract::Default
  def call
    default
  end

  private

  def default
    Dry::Schema.Params do
        if SunSword.scope_owner_column.present?
          required(SunSword.scope_owner_column).filled(:string)
        end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rider-kick-0.0.5 lib/generators/rider_kick/templates/domains/core/use_cases/contract/default.rb.tt