Sha256: 4d11f938e1e0c01c97efc5a5aebc84c14582eb401fc6ec204c7dc4fbf84ec56c

Contents?: true

Size: 331 Bytes

Versions: 12

Compression:

Stored size: 331 Bytes

Contents

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

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

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
aptly_cli-0.4.2 lib/aptly_package.rb
aptly_cli-0.4.0 lib/aptly_package.rb
aptly_cli-0.3.10 lib/aptly_package.rb
aptly_cli-0.3.8 lib/aptly_package.rb
aptly_cli-0.3.7 lib/aptly_package.rb
aptly_cli-0.3.6 lib/aptly_package.rb
aptly_cli-0.3.5 lib/aptly_package.rb
aptly_cli-0.3.4 lib/aptly_package.rb
aptly_cli-0.3.3 lib/aptly_package.rb
aptly_cli-0.3.2 lib/aptly_package.rb
aptly_cli-0.3.1 lib/aptly_package.rb
aptly_cli-0.3.0 lib/aptly_package.rb