Sha256: 6d07e69865303b6858ac232caf5d496aa4b76a3a6ef2a0a48a78028a6ba02b14

Contents?: true

Size: 398 Bytes

Versions: 2

Compression:

Stored size: 398 Bytes

Contents

require 'rom/changeset/restricted'

module ROM
  class Changeset
    # Changeset specialization for delete commands
    #
    # Delete changesets will execute delete command for its relation, which
    # means proper restricted relations should be used with this changeset.
    #
    # @api public
    class Delete < Changeset
      include Restricted

      command_type :delete
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rom-changeset-1.0.0.beta2 lib/rom/changeset/delete.rb
rom-changeset-1.0.0.beta1 lib/rom/changeset/delete.rb