Class: Artifactory::Resource::Plugin
- Defined in:
- lib/artifactory/resources/plugin.rb
Class Method Summary collapse
-
.all(options = {}) ⇒ Array<Resource::Plugin>
Get a list of all plugins in the system.
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, #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.
32 33 34 35 |
# File 'lib/artifactory/resources/plugin.rb', line 32 def all( = {}) client = extract_client!() client.get('/api/plugins') end |