Module: DBus::Systemd::Mixin::Properties
- Included in:
- Hostnamed, Importd::Manager, Importd::Transfer, Job, Localed, Logind::Manager, Logind::Seat, Logind::Session, Logind::User, DBus::Systemd::Machined::Image, DBus::Systemd::Machined::Machine, DBus::Systemd::Machined::Manager, DBus::Systemd::Manager, Networkd::Link, Networkd::Manager, Resolved::Link, Resolved::Manager, Timedated, Unit
- Defined in:
- lib/dbus/systemd/mixin.rb
Instance Method Summary collapse
-
#properties(interface = self.class::INTERFACE) ⇒ Hash
fetches properties from a named interface.
Instance Method Details
#properties(interface = self.class::INTERFACE) ⇒ Hash
fetches properties from a named interface
55 56 57 |
# File 'lib/dbus/systemd/mixin.rb', line 55 def properties(interface = self.class::INTERFACE) self.GetAll(interface).first end |