sanger/limber

View on GitHub
app/models/concerns/presenters/state_changeless.rb

Summary

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

module Presenters
  # Include in presenters that suppress state changes under all circumstances
  module StateChangeless
    def control_state_change
      # You cannot change the state
    end

    def default_state_change
      # You cannot change the state
    end
  end
end