Method: JSONAPI::Processor.transactional_operation_type?
- Defined in:
- lib/jsonapi/processor.rb
.transactional_operation_type?(operation_type) ⇒ Boolean
34 35 36 37 38 39 40 41 |
# File 'lib/jsonapi/processor.rb', line 34 def transactional_operation_type?(operation_type) case operation_type when :find, :show, :show_related_resource, :show_related_resources return false else return true end end |