Class: UDPCommandAction

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

Overview

Category: Messaging

Instance Attribute Summary

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

Returns a new instance of UDPCommandAction.



3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
# File 'lib/ruby-macrodroid.rb', line 3252

def initialize(h={})

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

  super(options.merge h)

end