debian-mirror-gitlab/lib/api/entities/packages/debian/distribution.rb
2021-09-04 01:27:46 +05:30

23 lines
515 B
Ruby

# 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