mirror of
https://github.com/openSUSE/osem.git
synced 2026-04-28 02:41:25 -04:00
11 lines
221 B
Ruby
11 lines
221 B
Ruby
#
|
|
# Needed in order to add the API version number to the conferences array
|
|
#
|
|
class ConferencesArraySerializer < ActiveModel::ArraySerializer
|
|
|
|
def as_json(*args)
|
|
json = super
|
|
json.merge!(:version => 1)
|
|
end
|
|
end
|