module DBus::Systemd::Mixin::Properties

Public Instance Methods

properties(interface = self.class::INTERFACE) click to toggle source

fetches properties from a named interface

@param interface [String], interface to get properties from @return [Hash] interface property hash

# File lib/dbus/systemd/mixin.rb, line 55
def properties(interface = self.class::INTERFACE)
  self.GetAll(interface).first
end