bfc0fbab2c
Major new feature, currently testing in a branch right now. Fixes #1
10 lines
163 B
Ruby
10 lines
163 B
Ruby
# frozen_string_literal: true
|
|
|
|
class REST::ListSerializer < ActiveModel::Serializer
|
|
attributes :id, :title, :is_exclusive
|
|
|
|
def id
|
|
object.id.to_s
|
|
end
|
|
end
|