Module: Ruconomic::API::Currency

Extended by:
WebService
Defined in:
lib/ruconomic/api/currency.rb

Class Method Summary collapse

Class Method Details

.find_by_codeHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



59
60
61
62
63
# 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/ta/ruconomic#contributing"
  end
end

.get_allHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

Return handles for all currencies.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



47
48
49
50
51
# 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/ta/ruconomic#contributing"
  end
end

.get_codeHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



36
37
38
39
40
# 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/ta/ruconomic#contributing"
  end
end

.get_dataHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# 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/ta/ruconomic#contributing"
  end
end

.get_data_arrayHash

Note:

TODO: This method was autogenerated from the WSDL - see github.com/ta/ruconomic#contributing

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

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# 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/ta/ruconomic#contributing"
  end
end