Class: FSR::App::UuidDump
- Inherits:
-
Application
- Object
- Application
- FSR::App::UuidDump
- Defined in:
- lib/fsr/app/uuid_dump.rb
Instance Method Summary collapse
- #arguments ⇒ Object
-
#initialize(uuid) ⇒ UuidDump
constructor
A new instance of UuidDump.
- #sendmsg ⇒ Object
Methods inherited from Application
Constructor Details
#initialize(uuid) ⇒ UuidDump
Returns a new instance of UuidDump.
6 7 8 |
# File 'lib/fsr/app/uuid_dump.rb', line 6 def initialize(uuid) @uuid = uuid # Unique channel ID end |
Instance Method Details
#arguments ⇒ Object
10 11 12 |
# File 'lib/fsr/app/uuid_dump.rb', line 10 def arguments [@uuid] end |
#sendmsg ⇒ Object
14 15 16 |
# File 'lib/fsr/app/uuid_dump.rb', line 14 def sendmsg "call-command: execute\nexecute-app-name: %s\nexecute-app-arg: %s\nevent-lock:true\n\n" % [app_name, arguments.join(" ")] end |