json.extract! room, :id, :name, :email_subject, :email_body, :created_at, :updated_at
json.url room_url(room, format: :json)