Sha256: 12832f11708b404fa3e5f216914f4cce777428a433053952233543d6ea42db3e

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

# encoding: utf-8

module Mongoid
  module Errors
    class DocumentNotUpdated < MongoidError
      def initialize(name)
        super(
          translate("touch.document_not_updated", { :name => name.to_s })
        )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mongoid_touch-0.2.0 lib/mongoid/errors/document_not_updated.rb
mongoid_touch-0.1.0 lib/mongoid/errors/document_not_updated.rb