sanger/limber

View on GitHub
app/models/presenters/permissive_presenter.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module Presenters
  #
  # Class PermissivePresenter provides a presenter which allows plate creation
  # even when the plate is pending
  #
  class PermissivePresenter < PlatePresenter
    include Presenters::Statemachine::Permissive

    validates_with Validators::SuboptimalValidator
    validates_with Validators::ActiveRequestValidator
  end
end