scinote-web/app/serializers/api/v1/inventory_serializer.rb

10 lines
180 B
Ruby

# frozen_string_literal: true
module Api
module V1
class InventorySerializer < ActiveModel::Serializer
type :inventories
attributes :id, :name
end
end
end