gitlab-org--gitlab-foss/lib/api/entities/npm_package.rb

12 lines
198 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module API
module Entities
class NpmPackage < Grape::Entity
expose :name
expose :versions
expose :dist_tags, as: 'dist-tags'
end
end
end