module Rmclient

Constants

VERSION

Public Instance Methods

mktime_entry(id, date, activity, hours, comment) click to toggle source

create time entry

@param id issue id @param date date for time entry @param activity [Integer] activity id @param hours [Float] no of hours @param comment [String] time entry comment @return true is successful, otherwise false

# File lib/rmclient.rb, line 51
def mktime_entry(id, date, activity, hours, comment)
  # parse date
  a = Time_entry.new(:issue_id => id, :spent_on => date, :hours => hours, :comments => comment, :activity_id => activity)
  a.save()
end
print_activities() click to toggle source

print possible activities

print_issues(user = "me") click to toggle source

print issues assigned to user

@param user user id

print_time_entries(user = "me") click to toggle source

print time entries for user

@param user id