debian-mirror-gitlab/lib/api/entities/nuget/package_metadata.rb
2020-08-09 17:41:57 +05:30

13 lines
342 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Nuget
class PackageMetadata < Grape::Entity
expose :json_url, as: :@id
expose :archive_url, as: :packageContent
expose :catalog_entry, as: :catalogEntry, using: ::API::Entities::Nuget::PackageMetadataCatalogEntry
end
end
end
end