zilverline/sequent

View on GitHub
integration-specs/rails-app/app/domain/invoicing/commands.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Invoicing
  module Commands
    class Create < Sequent::Command
      attrs amount: BigDecimal

      validates :amount, presence: true, numericality: true
    end
  end
end