class DTK::Client::Execute::Command::APICall::Required

Public Class Methods

new(input_key=nil) click to toggle source
# File lib/execute/command/api_call/translation_term.rb, line 66
def initialize(input_key=nil)
  @input = input_key
end

Public Instance Methods

translate(key,api_params,opts={}) click to toggle source
# File lib/execute/command/api_call/translation_term.rb, line 70
def translate(key,api_params,opts={})
  index_required(api_params,@input||key)
end