module Ruconomic::API::Currency

Public Class Methods

find_by_code() click to toggle source

Returns a handle for the currency with the given code. Parameters: code: The code to search for.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_FindByCode @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/currency.rb, line 59
def self.find_by_code
  response = invoke('Currency_FindByCode') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_all() click to toggle source

Return handles for all currencies.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetAll @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/currency.rb, line 47
def self.get_all
  response = invoke('Currency_GetAll') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_code() click to toggle source

Gets the code of a currency. Parameters: currencyHandle: Handle for the currency.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetCode @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/currency.rb, line 36
def self.get_code
  response = invoke('Currency_GetCode') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data() click to toggle source

Returns a currency data object for a given currency. Parameters: entityHandle: A handle for the currency.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetData @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/currency.rb, line 12
def self.get_data
  response = invoke('Currency_GetData') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end
get_data_array() click to toggle source

Returns currency data objects for a given set of currency handles. Parameters: entityHandles: An array of the currency handles.

@note TODO: This method was autogenerated from the WSDL - see github.com/coherify/ruconomic#contributing“ @see api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Currency_GetDataArray @return [Hash] The body content of the SOAP response.

# File lib/ruconomic/api/currency.rb, line 24
def self.get_data_array
  response = invoke('Currency_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
  end
end