Sha256: f3d0e36aa6dad35d0d610d0fa588b2dcfdabd76731d52c21be0de7da5b36e0f8

Contents?: true

Size: 202 Bytes

Versions: 1

Compression:

Stored size: 202 Bytes

Contents

module Mavenlink
  module Concerns
    module Indestructible

      # @overload
      def destroy
        raise RecordLockedError, 'The model is locked and cannot be deleted'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mavenlink-0.0.1 lib/mavenlink/concerns/indestructible.rb