Sha256: 12f82148076ad0fb67e7a0ebd62dd9485bb27a053a7263e2426b913bb8b7d197

Contents?: true

Size: 321 Bytes

Versions: 1

Compression:

Stored size: 321 Bytes

Contents

require 'aptly_cli/version'
require 'aptly_command'
require 'aptly_load'
require 'httparty'
require 'json'

module AptlyCli
  # Aptly Package API
  class AptlyPackage < AptlyCommand
    include HTTParty

    def package_show(package_key)
      uri = "/packages/#{package_key}"
      self.class.get(uri)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aptly_cli-0.5.0 lib/aptly_package.rb