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

Version Path
Overbryd-mighty-mite-0.1.0 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mighty-mite-0.1.1 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mighty-mite-0.1.2 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mighty-mite-0.1.3 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mite.cmd-0.1.3 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mite.cmd-0.1.4 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mite.cmd-0.1.5 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mite.cmd-0.1.7 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
Overbryd-mite.cmd-0.1.9 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb
yolk-mite-rb-0.0.2 lib/mite/user.rb
yolk-mite-rb-0.0.3 lib/mite/user.rb
mite.cmd-0.1.10 vendor/yolk-mite-rb-0.0.3/lib/mite/user.rb