module OpenprojectApi::Client::TimeEntries

Public Instance Methods

create_time_entry(body, *args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 16
def create_time_entry(body, *args)
        post('/api/v3/time_entries', body, *args)
end
delete_time_entry(time_entry_id, *args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 20
def delete_time_entry(time_entry_id, *args)
        delete("/api/v3/time_entries/#{time_entry_id}", *args)
end
time_entries(*args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 4
def time_entries(*args)
        get('/api/v3/time_entries', *args)
end
time_entries_available_projects(*args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 24
def time_entries_available_projects(*args)
        get('/api/v3/time_entries/available_projects', *args)
end
time_entry(time_entry_id, *args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 8
def time_entry(time_entry_id, *args)
        get("/api/v3/time_entries/#{time_entry_id}", *args)
end
update_time_entry(time_entry_id, body, *args) click to toggle source
# File lib/openproject_api/client/time_entries.rb, line 12
def update_time_entry(time_entry_id, body, *args)
        patch("/api/v3/time_entries/#{time_entry_id}", body, *args)
end