ruconomic 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/ruconomic/api/account.rb +86 -86
- data/lib/ruconomic/api/accounting_period.rb +18 -18
- data/lib/ruconomic/api/accounting_year.rb +26 -26
- data/lib/ruconomic/api/activity.rb +14 -14
- data/lib/ruconomic/api/bank_payment_type.rb +16 -16
- data/lib/ruconomic/api/budget_figure.rb +56 -56
- data/lib/ruconomic/api/cash_book.rb +38 -38
- data/lib/ruconomic/api/cash_book_entry.rb +118 -118
- data/lib/ruconomic/api/company.rb +48 -48
- data/lib/ruconomic/api/cost_type.rb +22 -22
- data/lib/ruconomic/api/cost_type_group.rb +18 -18
- data/lib/ruconomic/api/creditor.rb +114 -114
- data/lib/ruconomic/api/creditor_contact.rb +44 -44
- data/lib/ruconomic/api/creditor_entry.rb +40 -40
- data/lib/ruconomic/api/creditor_group.rb +34 -34
- data/lib/ruconomic/api/currency.rb +10 -10
- data/lib/ruconomic/api/current_invoice.rb +184 -184
- data/lib/ruconomic/api/current_invoice_line.rb +72 -72
- data/lib/ruconomic/api/current_supplier_invoice.rb +18 -18
- data/lib/ruconomic/api/current_supplier_invoice_line.rb +14 -14
- data/lib/ruconomic/api/debtor.rb +152 -152
- data/lib/ruconomic/api/debtor_contact.rb +54 -54
- data/lib/ruconomic/api/debtor_entry.rb +38 -38
- data/lib/ruconomic/api/debtor_group.rb +38 -38
- data/lib/ruconomic/api/delivery_location.rb +56 -56
- data/lib/ruconomic/api/department.rb +32 -32
- data/lib/ruconomic/api/distribution_key.rb +30 -30
- data/lib/ruconomic/api/document_archive_category.rb +26 -26
- data/lib/ruconomic/api/employee.rb +70 -70
- data/lib/ruconomic/api/employee_group.rb +32 -32
- data/lib/ruconomic/api/entry.rb +52 -52
- data/lib/ruconomic/api/extended_vat_zone.rb +12 -12
- data/lib/ruconomic/api/inventory_location.rb +14 -14
- data/lib/ruconomic/api/invoice.rb +115 -111
- data/lib/ruconomic/api/invoice_line.rb +40 -40
- data/lib/ruconomic/api/key_figure_code.rb +16 -16
- data/lib/ruconomic/api/mileage_entry.rb +52 -52
- data/lib/ruconomic/api/order.rb +194 -194
- data/lib/ruconomic/api/order_line.rb +74 -74
- data/lib/ruconomic/api/price_group.rb +32 -32
- data/lib/ruconomic/api/product.rb +88 -88
- data/lib/ruconomic/api/product_group.rb +44 -44
- data/lib/ruconomic/api/product_price.rb +26 -26
- data/lib/ruconomic/api/project.rb +74 -74
- data/lib/ruconomic/api/project_group.rb +18 -18
- data/lib/ruconomic/api/quotation.rb +190 -190
- data/lib/ruconomic/api/quotation_line.rb +74 -74
- data/lib/ruconomic/api/report_code.rb +12 -12
- data/lib/ruconomic/api/report_code_set.rb +14 -14
- data/lib/ruconomic/api/scanned_document.rb +28 -28
- data/lib/ruconomic/api/subscriber.rb +78 -78
- data/lib/ruconomic/api/subscription.rb +62 -62
- data/lib/ruconomic/api/subscription_line.rb +50 -50
- data/lib/ruconomic/api/sum_interval.rb +26 -26
- data/lib/ruconomic/api/template_collection.rb +12 -12
- data/lib/ruconomic/api/term_of_payment.rb +50 -50
- data/lib/ruconomic/api/time_entry.rb +42 -42
- data/lib/ruconomic/api/unit.rb +30 -30
- data/lib/ruconomic/api/vat_account.rb +24 -24
- data/lib/ruconomic/api.rb +12 -13
- data/lib/ruconomic/version.rb +1 -1
- data/ruconomic.gemspec +1 -1
- metadata +20 -21
@@ -6,250 +6,250 @@ module Ruconomic
|
|
6
6
|
# Creates a new time entry from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new time entry.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('TimeEntry_CreateFromData') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Creates new time entries from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new time entries.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('TimeEntry_CreateFromDataArray') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Update time entries from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('TimeEntry_UpdateFromDataArray') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Updates a time entry from a data object.
|
43
43
|
# Parameters: data: The data object.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('TimeEntry_UpdateFromData') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Returns a time entry data object for a given time entry.
|
55
55
|
# Parameters: entityHandle: A handle for the time entry.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('TimeEntry_GetData') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Returns time entries data objects for a given set of time entry handles.
|
67
67
|
# Parameters: entityHandles: An array of the time entries handles.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('TimeEntry_GetDataArray') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Creates a new time entry.
|
79
79
|
# Parameters: project: The project of the new time entry. activity: The activity of the new time entry. employee: The employee of the new time entry. date: The date of the new time entry. text: The text of the new time entry. numberOfHours: The number of hours of the new time entry.
|
80
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_Create
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.create
|
85
85
|
response = invoke('TimeEntry_Create') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Returns handles for all time entries.
|
91
91
|
#
|
92
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
93
93
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetAll
|
94
94
|
# @return [Hash] The body content of the SOAP response.
|
95
95
|
def self.get_all
|
96
96
|
response = invoke('TimeEntry_GetAll') do |message|
|
97
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Return handles for all time entries from date. fromDate is based on CET. includeCalculatedProperties is reserved for future usage and should be set to false for now.
|
102
102
|
#
|
103
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
103
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
104
104
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetAllUpdated
|
105
105
|
# @return [Hash] The body content of the SOAP response.
|
106
106
|
def self.get_all_updated
|
107
107
|
response = invoke('TimeEntry_GetAllUpdated') do |message|
|
108
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
108
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
112
|
# Returns an array of handles for the TimeEntry entries with numbers in the given interval.
|
113
113
|
# Parameters: fromDate: The beginning of the interval. toDate: the end of the interval.
|
114
114
|
#
|
115
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
115
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
116
116
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_FindApprovedByDate
|
117
117
|
# @return [Hash] The body content of the SOAP response.
|
118
118
|
def self.find_approved_by_date
|
119
119
|
response = invoke('TimeEntry_FindApprovedByDate') do |message|
|
120
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
120
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
124
|
# Deletes a time entry.
|
125
125
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
126
126
|
#
|
127
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
127
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
128
128
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_Delete
|
129
129
|
# @return [Hash] The body content of the SOAP response.
|
130
130
|
def self.delete
|
131
131
|
response = invoke('TimeEntry_Delete') do |message|
|
132
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
132
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
133
133
|
end
|
134
134
|
end
|
135
135
|
|
136
136
|
# Gets handle for the project of a time entry. To set, use UpdateFromData or UpdateFromDataArray.
|
137
137
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
138
138
|
#
|
139
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
139
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
140
140
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetProject
|
141
141
|
# @return [Hash] The body content of the SOAP response.
|
142
142
|
def self.get_project
|
143
143
|
response = invoke('TimeEntry_GetProject') do |message|
|
144
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
144
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
145
145
|
end
|
146
146
|
end
|
147
147
|
|
148
148
|
# Gets handle for the activity of a time entry. To set, use UpdateFromData or UpdateFromDataArray.
|
149
149
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
150
150
|
#
|
151
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
151
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
152
152
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetActivity
|
153
153
|
# @return [Hash] The body content of the SOAP response.
|
154
154
|
def self.get_activity
|
155
155
|
response = invoke('TimeEntry_GetActivity') do |message|
|
156
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
156
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
157
157
|
end
|
158
158
|
end
|
159
159
|
|
160
160
|
# Gets a handle for the employee of a time entry. To set, use UpdateFromData or UpdateFromDataArray.
|
161
161
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
162
162
|
#
|
163
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
163
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
164
164
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetEmployee
|
165
165
|
# @return [Hash] The body content of the SOAP response.
|
166
166
|
def self.get_employee
|
167
167
|
response = invoke('TimeEntry_GetEmployee') do |message|
|
168
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
168
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
169
169
|
end
|
170
170
|
end
|
171
171
|
|
172
172
|
# Gets the date of a time entry. To set, use UpdateFromData or UpdateFromDataArray.
|
173
173
|
# Parameters: ctimeEntryHandle: Handle for the time entry.
|
174
174
|
#
|
175
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
175
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
176
176
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetDate
|
177
177
|
# @return [Hash] The body content of the SOAP response.
|
178
178
|
def self.get_date
|
179
179
|
response = invoke('TimeEntry_GetDate') do |message|
|
180
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
180
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
181
181
|
end
|
182
182
|
end
|
183
183
|
|
184
184
|
# Gets the text of a time entry.
|
185
185
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
186
186
|
#
|
187
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
187
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
188
188
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetText
|
189
189
|
# @return [Hash] The body content of the SOAP response.
|
190
190
|
def self.get_text
|
191
191
|
response = invoke('TimeEntry_GetText') do |message|
|
192
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
192
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
193
193
|
end
|
194
194
|
end
|
195
195
|
|
196
196
|
# Sets the text of a time entry.
|
197
197
|
# Parameters: timeEntryHandle: Handle for the time entry. value: new text value.
|
198
198
|
#
|
199
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
199
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
200
200
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_SetText
|
201
201
|
# @return [Hash] The body content of the SOAP response.
|
202
202
|
def self.set_text
|
203
203
|
response = invoke('TimeEntry_SetText') do |message|
|
204
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
204
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
205
205
|
end
|
206
206
|
end
|
207
207
|
|
208
208
|
# Gets the number of hours of a time entry. To set, use UpdateFromData or UpdateFromDataArray.
|
209
209
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
210
210
|
#
|
211
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
211
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
212
212
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetNumberOfHours
|
213
213
|
# @return [Hash] The body content of the SOAP response.
|
214
214
|
def self.get_number_of_hours
|
215
215
|
response = invoke('TimeEntry_GetNumberOfHours') do |message|
|
216
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
216
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
217
217
|
end
|
218
218
|
end
|
219
219
|
|
220
220
|
# Gets the sales price of the time entry.
|
221
221
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
222
222
|
#
|
223
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
223
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
224
224
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetSalesPrice
|
225
225
|
# @return [Hash] The body content of the SOAP response.
|
226
226
|
def self.get_sales_price
|
227
227
|
response = invoke('TimeEntry_GetSalesPrice') do |message|
|
228
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
228
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
229
229
|
end
|
230
230
|
end
|
231
231
|
|
232
232
|
# Gets the cost price of the time entry.
|
233
233
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
234
234
|
#
|
235
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
235
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
236
236
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetCostPrice
|
237
237
|
# @return [Hash] The body content of the SOAP response.
|
238
238
|
def self.get_cost_price
|
239
239
|
response = invoke('TimeEntry_GetCostPrice') do |message|
|
240
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
240
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
244
244
|
# Gets whether the time entry is approved.
|
245
245
|
# Parameters: timeEntryHandle: Handle for the time entry.
|
246
246
|
#
|
247
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
247
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
248
248
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=TimeEntry_GetApproved
|
249
249
|
# @return [Hash] The body content of the SOAP response.
|
250
250
|
def self.get_approved
|
251
251
|
response = invoke('TimeEntry_GetApproved') do |message|
|
252
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
252
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
data/lib/ruconomic/api/unit.rb
CHANGED
@@ -6,179 +6,179 @@ module Ruconomic
|
|
6
6
|
# Creates a new unit from a data object.
|
7
7
|
# Parameters: data: The data object that specifies the properties of the new unit.
|
8
8
|
#
|
9
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
9
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
10
10
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_CreateFromData
|
11
11
|
# @return [Hash] The body content of the SOAP response.
|
12
12
|
def self.create_from_data
|
13
13
|
response = invoke('Unit_CreateFromData') do |message|
|
14
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
14
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
18
|
# Creates new units from data objects.
|
19
19
|
# Parameters: dataArray: The array of data objects that specifies the properties of the new units.
|
20
20
|
#
|
21
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
21
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
22
22
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_CreateFromDataArray
|
23
23
|
# @return [Hash] The body content of the SOAP response.
|
24
24
|
def self.create_from_data_array
|
25
25
|
response = invoke('Unit_CreateFromDataArray') do |message|
|
26
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
26
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
30
|
# Update units from data objects.
|
31
31
|
# Parameters: dataArray: The array of data objects.
|
32
32
|
#
|
33
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
33
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
34
34
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_UpdateFromDataArray
|
35
35
|
# @return [Hash] The body content of the SOAP response.
|
36
36
|
def self.update_from_data_array
|
37
37
|
response = invoke('Unit_UpdateFromDataArray') do |message|
|
38
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
38
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
42
|
# Updates a unit from a data object.
|
43
43
|
# Parameters: data: The data object.
|
44
44
|
#
|
45
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
45
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
46
46
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_UpdateFromData
|
47
47
|
# @return [Hash] The body content of the SOAP response.
|
48
48
|
def self.update_from_data
|
49
49
|
response = invoke('Unit_UpdateFromData') do |message|
|
50
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
50
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
# Returns an unit data object for a given unit.
|
55
55
|
# Parameters: entityHandle: A handle for the unit.
|
56
56
|
#
|
57
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
57
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
58
58
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_GetData
|
59
59
|
# @return [Hash] The body content of the SOAP response.
|
60
60
|
def self.get_data
|
61
61
|
response = invoke('Unit_GetData') do |message|
|
62
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
62
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
66
|
# Returns unit data objects for a given set of unit handles.
|
67
67
|
# Parameters: entityHandles: An array of the unit handles.
|
68
68
|
#
|
69
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
69
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
70
70
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_GetDataArray
|
71
71
|
# @return [Hash] The body content of the SOAP response.
|
72
72
|
def self.get_data_array
|
73
73
|
response = invoke('Unit_GetDataArray') do |message|
|
74
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
74
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
75
75
|
end
|
76
76
|
end
|
77
77
|
|
78
78
|
# Creates a new unit.
|
79
79
|
# Parameters: name: The name of the new unit.
|
80
80
|
#
|
81
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
81
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
82
82
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_Create
|
83
83
|
# @return [Hash] The body content of the SOAP response.
|
84
84
|
def self.create
|
85
85
|
response = invoke('Unit_Create') do |message|
|
86
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
86
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
90
|
# Returns handles for all units.
|
91
91
|
#
|
92
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
92
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
93
93
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_GetAll
|
94
94
|
# @return [Hash] The body content of the SOAP response.
|
95
95
|
def self.get_all
|
96
96
|
response = invoke('Unit_GetAll') do |message|
|
97
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
97
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Returns handles for units with a given name.
|
102
102
|
# Parameters: name: The name to search for.
|
103
103
|
#
|
104
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
104
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
105
105
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_FindByName
|
106
106
|
# @return [Hash] The body content of the SOAP response.
|
107
107
|
def self.find_by_name
|
108
108
|
response = invoke('Unit_FindByName') do |message|
|
109
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
109
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
110
110
|
end
|
111
111
|
end
|
112
112
|
|
113
113
|
# Returns a handle for the unit with a given number.
|
114
114
|
# Parameters: number: The number to search for.
|
115
115
|
#
|
116
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
116
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
117
117
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_FindByNumber
|
118
118
|
# @return [Hash] The body content of the SOAP response.
|
119
119
|
def self.find_by_number
|
120
120
|
response = invoke('Unit_FindByNumber') do |message|
|
121
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
121
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
125
|
# Returns an array with handles for the untis corresponding to the given unit numbers. If a unit with a given number does not exist then the array contains nothing at that index.
|
126
126
|
# Parameters: numbers: The numbers to search for.
|
127
127
|
#
|
128
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
128
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
129
129
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_FindByNumberList
|
130
130
|
# @return [Hash] The body content of the SOAP response.
|
131
131
|
def self.find_by_number_list
|
132
132
|
response = invoke('Unit_FindByNumberList') do |message|
|
133
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
133
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
134
134
|
end
|
135
135
|
end
|
136
136
|
|
137
137
|
# Deletes a unit.
|
138
138
|
# Parameters: unitHandle: Handle for the unit.
|
139
139
|
#
|
140
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
140
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
141
141
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_Delete
|
142
142
|
# @return [Hash] The body content of the SOAP response.
|
143
143
|
def self.delete
|
144
144
|
response = invoke('Unit_Delete') do |message|
|
145
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
145
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
146
146
|
end
|
147
147
|
end
|
148
148
|
|
149
149
|
# Gets the number of a unit.
|
150
150
|
# Parameters: unitHandle: Handle for the unit.
|
151
151
|
#
|
152
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
152
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
153
153
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_GetNumber
|
154
154
|
# @return [Hash] The body content of the SOAP response.
|
155
155
|
def self.get_number
|
156
156
|
response = invoke('Unit_GetNumber') do |message|
|
157
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
157
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
158
158
|
end
|
159
159
|
end
|
160
160
|
|
161
161
|
# Gets the name of a unit.
|
162
162
|
# Parameters: unitHandle: Handle for the unit.
|
163
163
|
#
|
164
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
164
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
165
165
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_GetName
|
166
166
|
# @return [Hash] The body content of the SOAP response.
|
167
167
|
def self.get_name
|
168
168
|
response = invoke('Unit_GetName') do |message|
|
169
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
169
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
170
170
|
end
|
171
171
|
end
|
172
172
|
|
173
173
|
# Sets the name of a unit.
|
174
174
|
# Parameters: unitHandle: Handle for the unit. value: The new name of the unit.
|
175
175
|
#
|
176
|
-
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/
|
176
|
+
# @note TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
177
177
|
# @see https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=Unit_SetName
|
178
178
|
# @return [Hash] The body content of the SOAP response.
|
179
179
|
def self.set_name
|
180
180
|
response = invoke('Unit_SetName') do |message|
|
181
|
-
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/
|
181
|
+
raise "TODO: This method was autogenerated from the WSDL - see https://github.com/coherify/ruconomic#contributing"
|
182
182
|
end
|
183
183
|
end
|
184
184
|
|