Sha256: 555291d3da8077a8e8305ab0d82d197c1c3c6f861344fc8b2bd1942288754ed7
Contents?: true
Size: 370 Bytes
Versions: 12
Compression:
Stored size: 370 Bytes
Contents
class Mite::User < Mite::Base def time_entries(options = {}) TimeEntry.find(:all, :params => options.update(:user_id => id)) end def save raise Error, "Cannot modify users over mite.api" end def create raise Error, "Cannot create users over mite.api" end def destroy raise Error, "Cannot destroy users over mite.api" end end
Version data entries
12 entries across 12 versions & 4 rubygems