Class: Artifactory::Resource::Plugin

Inherits:
Base
  • Object
show all
Defined in:
lib/artifactory/resources/plugin.rb

Class Method Summary collapse

Methods inherited from Base

attribute, attributes, #attributes, #client, #client=, #client?, #extract_client!, extract_client!, find_from_config, #format_repos!, format_repos!, from_hash, from_url, has_attribute?, #initialize, #inspect, list_from_config, #set, #to_hash, #to_json, #to_matrix_properties, #to_query_string_parameters, #to_s, uri_parser, #url_safe, url_safe

Constructor Details

This class inherits a constructor from Artifactory::Resource::Base

Class Method Details

.all(options = {}) ⇒ Array<Resource::Plugin>

Get a list of all plugins in the system.

Parameters:

  • options (Hash) (defaults to: {})

    the list of options

Options Hash (options):

Returns:



32
33
34
35
# File 'lib/artifactory/resources/plugin.rb', line 32

def all(options = {})
  client = extract_client!(options)
  client.get("/api/plugins")
end