Module: RESTFramework::BulkUpdateModelMixin

Included in:
BulkModelControllerMixin
Defined in:
lib/rest_framework/controller_mixins/bulk.rb

Overview

Mixin for updating records in bulk.

Instance Method Summary collapse

Instance Method Details

#update_allObject

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 18

def update_all
  raise NotImplementedError, "TODO"
end

#update_all!Object

Perform the ‘update!` call and return the updated record.

Raises:

  • (NotImplementedError)


23
24
25
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 23

def update_all!
  raise NotImplementedError, "TODO"
end