Sha256: 7203b73da89b70e39d5c269e3ee97050f7b83fa19f21dd1e4274a60921ab6e03

Contents?: true

Size: 310 Bytes

Versions: 2

Compression:

Stored size: 310 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}"
      get(uri)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aptly_cli-0.6.1 lib/aptly_package.rb
aptly_cli-0.6.0 lib/aptly_package.rb