Class: DBus::Systemd::Importd::Transfer
- Inherits:
-
Object
- Object
- DBus::Systemd::Importd::Transfer
- Includes:
- Mixin::MethodMissing, Mixin::Properties
- Defined in:
- lib/dbus/systemd/importd/transfer.rb
Constant Summary collapse
- INTERFACE =
importd transfer object dbus interface
'org.freedesktop.import1.Transfer'.freeze
Instance Attribute Summary
Attributes included from Mixin::MethodMissing
Instance Method Summary collapse
-
#initialize(id, manager = Manager.new) ⇒ Transfer
constructor
create a transfer object for interfacing with importd transfers.
Methods included from Mixin::Properties
Methods included from Mixin::MethodMissing
#method_missing, #respond_to_missing?
Constructor Details
#initialize(id, manager = Manager.new) ⇒ Transfer
create a transfer object for interfacing with importd transfers
39 40 41 42 43 |
# File 'lib/dbus/systemd/importd/transfer.rb', line 39 def initialize(id, manager = Manager.new) @object = manager.service.object("#{Manager::NODE}/transfer/_#{id}") @object.default_iface = INTERFACE @object.introspect end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class DBus::Systemd::Mixin::MethodMissing