Method: Bixby::Client#exec

Defined in:
lib/bixby-client/client.rb

#exec(op, params) ⇒ JsonResponse

Execute the given API request on the manager

Parameters:

  • operation (String)

    Name of operation

  • params (Array)

    Array of parameters; must ve valid JSON types

Returns:

  • (JsonResponse)


27
28
29
# File 'lib/bixby-client/client.rb', line 27

def exec(op, params)
  exec_api(JsonRequest.new(op, params))
end