Class: JobModifiedRecord

Inherits:
Sequel::Model
  • Object
show all
Defined in:
backend/app/model/job_modified_record.rb

Class Method Summary collapse

Class Method Details

.sequel_to_jsonmodel(objs, opts = {}) ⇒ Object



7
8
9
10
11
# File 'backend/app/model/job_modified_record.rb', line 7

def self.sequel_to_jsonmodel(objs, opts = {})
  objs.map {|obj|
    {'record' => {'ref' => obj.record_uri}}
  }
end