Sha256: 335818d18aa57b273ba8692cfe9b9dfbf568b1d87f27c7a89d31117b12a3823e

Contents?: true

Size: 395 Bytes

Versions: 12

Compression:

Stored size: 395 Bytes

Contents

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

module AptlyCli
  # Misc Aptly Class
  class AptlyMisc < AptlyCommand
    include HTTMultiParty

    def get_graph(extension)
      uri = "/graph.#{extension}"
      self.class.get(uri)
    end

    def get_version
      uri = '/version'
      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_misc.rb
aptly_cli-0.4.0 lib/aptly_misc.rb
aptly_cli-0.3.10 lib/aptly_misc.rb
aptly_cli-0.3.8 lib/aptly_misc.rb
aptly_cli-0.3.7 lib/aptly_misc.rb
aptly_cli-0.3.6 lib/aptly_misc.rb
aptly_cli-0.3.5 lib/aptly_misc.rb
aptly_cli-0.3.4 lib/aptly_misc.rb
aptly_cli-0.3.3 lib/aptly_misc.rb
aptly_cli-0.3.2 lib/aptly_misc.rb
aptly_cli-0.3.1 lib/aptly_misc.rb
aptly_cli-0.3.0 lib/aptly_misc.rb