Sha256: 2623563679b8b67cd37405dd41824e0217045ef3670b564d1d9400b5a440f450

Contents?: true

Size: 721 Bytes

Versions: 20

Compression:

Stored size: 721 Bytes

Contents

module Gitea 
  module Api 
    module Package 

      def get_packages_by_owner(owner, opt = {})
        @http.get("/packages/#{owner}", opt)
      end

      def get_packages_by_owner_type_name_version(owner, type, name, version, opt = {})
        @http.get("/packages/#{owner}/#{type}/#{name}/#{version}", opt)
      end

      def delete_packages_by_owner_type_name_version(owner, type, name, version, opt = {})
        @http.delete("/packages/#{owner}/#{type}/#{name}/#{version}", opt)
      end

      def get_packages_files_by_owner_type_name_version(owner, type, name, version, opt = {})
        @http.get("/packages/#{owner}/#{type}/#{name}/#{version}", opt)
      end
    end # Package 
  end # Api 
end # Gitea

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
gitea-client-1.5.9 lib/gitea/api/package.rb
gitea-client-1.5.8 lib/gitea/api/package.rb
gitea-client-1.5.6 lib/gitea/api/package.rb
gitea-client-1.5.0 lib/gitea/api/package.rb
gitea-client-1.4.6 lib/gitea/api/package.rb
gitea-client-1.4.5 lib/gitea/api/package.rb
gitea-client-1.4.4 lib/gitea/api/package.rb
gitea-client-1.4.3 lib/gitea/api/package.rb
gitea-client-1.4.2 lib/gitea/api/package.rb
gitea-client-1.4.1 lib/gitea/api/package.rb
gitea-client-1.4.0 lib/gitea/api/package.rb
gitea-client-1.3.3 lib/gitea/api/package.rb
gitea-client-1.3.2 lib/gitea/api/package.rb
gitea-client-1.3.0 lib/gitea/api/package.rb
gitea-client-1.3.1 lib/gitea/api/package.rb
gitea-client-1.2.2 lib/gitea/api/package.rb
gitea-client-1.2.1 lib/gitea/api/package.rb
gitea-client-1.2.0 lib/gitea/api/package.rb
gitea-client-1.1.0 lib/gitea/api/package.rb
gitea-client-1.0.0 lib/gitea/api/package.rb