This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/app/serializers/embeddable_host_serializer.rb
T

17 lines
210 B
Ruby

class EmbeddableHostSerializer < ApplicationSerializer
attributes :id, :host, :category_id
def id
object.id
end
def host
object.host
end
def category_id
object.category_id
end
end