class EZAPIClient::GenPasswordToken

Public Class Methods

call(args) click to toggle source
# File lib/ezapi_client/services/gen_password_token.rb, line 12
def self.call(args)
  self.new(args).call
end

Public Instance Methods

call() click to toggle source
# File lib/ezapi_client/services/gen_password_token.rb, line 16
def call
  ExecCommand.(command)
end

Private Instance Methods

default_command() click to toggle source
# File lib/ezapi_client/services/gen_password_token.rb, line 22
def default_command
  [
    "java -cp",
    JAR_PATH,
    "ezpadala.EZtoken",
    prv_path,
    eks_path,
    username,
    password,
    reference_no,
  ].join(" ")
end