Class: DBus::Systemd::Importd::Transfer

Inherits:
Object
  • Object
show all
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

#object

Instance Method Summary collapse

Methods included from Mixin::Properties

#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

Parameters:



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