class Evolis::PremiumSdk::Addon
Public Class Methods
new(host, port)
click to toggle source
Initializes the class and sets SDK host and port
@param host [String] host or IP for SDK @param port [String, Fixnum] port for SDK
Calls superclass method
# File lib/evolis/premium_sdk/addon.rb, line 11 def initialize(host, port) super(host, port, 'ADDON') end
Public Instance Methods
launch(command, data)
click to toggle source
Executes an application on the server
@param command [String] what command to launch @param data [String] parameters to give to command @return [String] results from command
# File lib/evolis/premium_sdk/addon.rb, line 20 def launch(command, data) call_rpc('Launch', { command: command, data: data }) end