Class: DInstaller::DBus::Users
- Inherits:
-
BaseObject
- Object
- DBus::Object
- BaseObject
- DInstaller::DBus::Users
- Includes:
- Interfaces::ServiceStatus, WithServiceStatus
- Defined in:
- lib/dinstaller/dbus/users.rb
Overview
YaST D-Bus object (/org/opensuse/DInstaller/Users1)
Constant Summary
Constants included from Interfaces::ServiceStatus
Interfaces::ServiceStatus::SERVICE_STATUS_BUSY, Interfaces::ServiceStatus::SERVICE_STATUS_IDLE, Interfaces::ServiceStatus::SERVICE_STATUS_INTERFACE
Instance Method Summary collapse
- #first_user ⇒ Object
-
#initialize(backend, logger) ⇒ Users
constructor
Constructor.
- #root_password_set ⇒ Object
-
#root_ssh_key ⇒ Object
rubocop:enable Metrics/BlockLength.
Methods included from Interfaces::ServiceStatus
included, #register_service_status_callbacks, #service_status_all, #service_status_current
Methods included from WithServiceStatus
Methods inherited from BaseObject
Constructor Details
#initialize(backend, logger) ⇒ Users
Constructor
42 43 44 45 46 |
# File 'lib/dinstaller/dbus/users.rb', line 42 def initialize(backend, logger) super(PATH, logger: logger) @backend = backend register_service_status_callbacks end |
Instance Method Details
#first_user ⇒ Object
118 119 120 |
# File 'lib/dinstaller/dbus/users.rb', line 118 def first_user backend.first_user end |
#root_password_set ⇒ Object
122 123 124 |
# File 'lib/dinstaller/dbus/users.rb', line 122 def root_password_set backend.root_password? end |
#root_ssh_key ⇒ Object
rubocop:enable Metrics/BlockLength
114 115 116 |
# File 'lib/dinstaller/dbus/users.rb', line 114 def root_ssh_key backend.root_ssh_key end |