hometown/app/serializers/rest/list_serializer.rb
Darius Kazemi bfc0fbab2c Adding exclusive lists feature
Major new feature, currently testing in a branch right now. Fixes #1
2019-07-26 01:53:21 -07:00

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