osem-fcy/app/serializers/room_serializer.rb

23 lines
502 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2021-02-20 09:57:27 -08:00
# == Schema Information
#
# Table name: rooms
#
# id :bigint not null, primary key
# guid :string not null
# name :string not null
# order :integer
# size :integer
# url :string
# venue_id :integer not null
#
2013-07-08 10:07:12 +02:00
class RoomSerializer < ActiveModel::Serializer
attributes :guid, :name, :description
# FIXME: just giving suseconferenceclient something to play with
def description
2014-06-24 12:14:53 +03:00
''
2013-07-08 10:07:12 +02:00
end
end