debian-mirror-gitlab/app/presenters/packages/nuget/package_metadata_presenter.rb
2020-08-09 17:44:08 +05:30

25 lines
430 B
Ruby

# frozen_string_literal: true
module Packages
module Nuget
class PackageMetadataPresenter
include Packages::Nuget::PresenterHelpers
def initialize(package)
@package = package
end
def json_url
json_url_for(@package)
end
def archive_url
archive_url_for(@package)
end
def catalog_entry
catalog_entry_for(@package)
end
end
end
end