debian-mirror-gitlab/lib/api/entities/packages/debian/distribution.rb

24 lines
515 B
Ruby
Raw Normal View History

2021-09-04 01:27:46 +05:30
# frozen_string_literal: true
module API
module Entities
module Packages
module Debian
class Distribution < Grape::Entity
expose :id
expose :codename
expose :suite
expose :origin
expose :label
expose :version
expose :description
expose :valid_time_duration_seconds
expose :component_names, as: :components
expose :architecture_names, as: :architectures
end
end
end
end
end