Module: Ruconomic::API::Activity

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

Class Method Summary collapse

Class Method Details

.find_by_numberHash

Note:

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

Returns a handle for the activity with the given number. Parameters: number: The number to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



47
48
49
50
51
# File 'lib/ruconomic/api/activity.rb', line 47

def self.find_by_number
  response = invoke('Activity_FindByNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.find_by_number_listHash

Note:

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

Returns an array with handles for the activities corresponding to the given numbers. If an activity with a given number does not exist or if no number is given then the array contains null at that index. Parameters: numbers: The numbers to search for.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



59
60
61
62
63
# File 'lib/ruconomic/api/activity.rb', line 59

def self.find_by_number_list
  response = invoke('Activity_FindByNumberList') 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

Returns handles for all activities.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



35
36
37
38
39
# File 'lib/ruconomic/api/activity.rb', line 35

def self.get_all
  response = invoke('Activity_GetAll') 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 an Activity data object for a given Activity. Parameters: entityHandle: A handle for the Activity.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



12
13
14
15
16
# File 'lib/ruconomic/api/activity.rb', line 12

def self.get_data
  response = invoke('Activity_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 Activity data objects for a given set of Activity handles. Parameters: entityHandles: An array of the Activity handles.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



24
25
26
27
28
# File 'lib/ruconomic/api/activity.rb', line 24

def self.get_data_array
  response = invoke('Activity_GetDataArray') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_nameHash

Note:

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

Gets the name of the activity.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



82
83
84
85
86
# File 'lib/ruconomic/api/activity.rb', line 82

def self.get_name
  response = invoke('Activity_GetName') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end

.get_numberHash

Note:

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

Gets the number of the activity. Parameters: activityHandle: Handle for the activity.

Returns:

  • (Hash)

    The body content of the SOAP response.

See Also:



71
72
73
74
75
# File 'lib/ruconomic/api/activity.rb', line 71

def self.get_number
  response = invoke('Activity_GetNumber') do |message|
    raise "TODO: This method was autogenerated from the WSDL - see https://github.com/ta/ruconomic#contributing"
  end
end