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



3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
# File 'lib/ruby-macrodroid.rb', line 3077

def initialize(h={})

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

  super(options.merge h)

end