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

Constructor Details

#initialize(h = {}) ⇒ UDPCommandAction



2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
# File 'lib/ruby-macrodroid.rb', line 2558

def initialize(h={})

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

  super(options.merge h)

end