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

11 lines
180 B
Ruby
Raw Normal View History

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