Sha256: 4965e00a8591ddbabe345eccb73e850c9600cfe80839e3bfb00afb43f16912cc

Contents?: true

Size: 409 Bytes

Versions: 9

Compression:

Stored size: 409 Bytes

Contents

require 'rom/repository/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

9 entries across 9 versions & 1 rubygems

Version Path
rom-repository-1.4.0 lib/rom/repository/changeset/delete.rb
rom-repository-1.3.3 lib/rom/repository/changeset/delete.rb
rom-repository-1.3.2 lib/rom/repository/changeset/delete.rb
rom-repository-1.3.1 lib/rom/repository/changeset/delete.rb
rom-repository-1.3.0 lib/rom/repository/changeset/delete.rb
rom-repository-1.2.0 lib/rom/repository/changeset/delete.rb
rom-repository-1.1.0 lib/rom/repository/changeset/delete.rb
rom-repository-1.0.2 lib/rom/repository/changeset/delete.rb
rom-repository-1.0.1 lib/rom/repository/changeset/delete.rb