You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
240 B

  1. # frozen_string_literal: true
  2. class REST::MarkerSerializer < ActiveModel::Serializer
  3. attributes :last_read_id, :version, :updated_at
  4. def last_read_id
  5. object.last_read_id.to_s
  6. end
  7. def version
  8. object.lock_version
  9. end
  10. end