2018-09-07 17:58:02 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Api
|
|
|
|
module V1
|
|
|
|
class ConnectionSerializer < ActiveModel::Serializer
|
2018-09-07 19:39:00 +08:00
|
|
|
type :connections
|
2018-09-07 17:58:02 +08:00
|
|
|
attributes :id, :input_id, :output_id
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|