Class: UDPCommandAction

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

Overview

Category: Messaging

Instance Attribute Summary

Attributes inherited from Action

#constraints

Attributes inherited from MacroObject

#options, #type

Instance Method Summary collapse

Methods inherited from Action

#invoke

Methods inherited from MacroObject

#to_h, #to_s

Constructor Details

#initialize(h = {}) ⇒ UDPCommandAction



3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
# File 'lib/ruby-macrodroid.rb', line 3399

def initialize(h={})

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

  super(options.merge h)

end