Module: DBus::Systemd::Mixin::Properties

Instance Method Summary collapse

Instance Method Details

#properties(interface = self.class::INTERFACE) ⇒ Hash

fetches properties from a named interface

Parameters:

  • interface (String) (defaults to: self.class::INTERFACE)

    , interface to get properties from

Returns:

  • (Hash)

    interface property hash



55
56
57
# File 'lib/dbus/systemd/mixin.rb', line 55

def properties(interface = self.class::INTERFACE)
  self.GetAll(interface).first
end