Class: Guh::Plugin

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

Overview

This class wraps everything related to Plugins.

Class Method Summary collapse

Methods inherited from Base

configure, get, guh_ip_address, guh_ip_address=, guh_port, guh_port=, introspect, version

Class Method Details

.allObject

Returns a list of all installed plugins.

Example:

Guh::Plugin.all


15
16
17
18
19
20
21
22
# File 'lib/guh/plugin.rb', line 15

def self.all
  response = get({
    id: generate_request_id,
    method: "Devices.GetPlugins"
  })

  response['plugins']
end