Class: UDPCommandAction

Inherits:
Action show all
Defined in:
lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb,
lib/ruby-macrodroid.rb

Instance Method Summary collapse

Methods inherited from MacroObject

#to_h

Constructor Details

#initialize(h = {}) ⇒ UDPCommandAction

Returns a new instance of UDPCommandAction.



1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
# File 'lib/ruby-macrodroid.rb', line 1387

def initialize(h={})

  options = {
    destination: '',
    message: '',
    port: 1024
  }

  super(options.merge h)

end