class Params

Constants

API_LOGIN
API_TRANSKEY
PROD_ID
PROVIDER_ID
TRANSACTION_ID

Public Class Methods

new() click to toggle source
# File lib/galileo_processing/rest/params.rb, line 10
def initialize()
  @data = Hash.new
end

Public Instance Methods

get_params() click to toggle source
# File lib/galileo_processing/rest/params.rb, line 14
def get_params()
  @data
end
with(name, value) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 18
def with(name, value)
  @data[name] = value
  return self
end
with_apiLogin(apiLogin) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 25
def with_apiLogin(apiLogin)
  return self.with(Params::API_LOGIN, apiLogin)
end
with_apiTransKey(apiTransKey) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 29
def with_apiTransKey(apiTransKey)
  return self.with(Params::API_TRANSKEY, apiTransKey)
end
with_prodId(prodId) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 41
def with_prodId(prodId)
  return self.with(Params::PROD_ID, prodId)
end
with_providerId(providerId) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 33
def with_providerId(providerId)
  return self.with(Params::PROVIDER_ID, providerId)
end
with_transactionId(transactionId) click to toggle source
# File lib/galileo_processing/rest/params.rb, line 37
def with_transactionId(transactionId)
  return self.with(Params::TRANSACTION_ID, transactionId)
end