Class: AptlyCli::AptlyPackage

Inherits:
AptlyCommand show all
Includes:
HTTParty
Defined in:
lib/aptly_package.rb

Overview

Aptly Package API

Instance Attribute Summary

Attributes inherited from AptlyCommand

#config

Instance Method Summary collapse

Methods inherited from AptlyCommand

#delete, #get, #initialize, #post, #process_response, #put

Constructor Details

This class inherits a constructor from AptlyCli::AptlyCommand

Instance Method Details

#package_show(package_key) ⇒ Object



12
13
14
15
# File 'lib/aptly_package.rb', line 12

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