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)


48
49
50
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 48

def update_all
  raise NotImplementedError, "TODO"
end

#update_all!Object

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

Raises:

  • (NotImplementedError)


53
54
55
# File 'lib/rest_framework/controller_mixins/bulk.rb', line 53

def update_all!
  raise NotImplementedError, "TODO"
end