Sha256: 86f9f67b9db12ec27d6fdb0c0182e9686bf14862b7eefd864ba1c2835d112be4

Contents?: true

Size: 254 Bytes

Versions: 12

Compression:

Stored size: 254 Bytes

Contents

class Mite::Customer < Mite::Base
  def time_entries(options = {})
    TimeEntry.find(:all, :params => options.update(:customer_id => id))
  end

  def projects(options = {})
    Project.find(:all, :params => options.update(:customer_id => id))
  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/customer.rb
Overbryd-mighty-mite-0.1.1 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mighty-mite-0.1.2 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mighty-mite-0.1.3 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mite.cmd-0.1.3 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mite.cmd-0.1.4 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mite.cmd-0.1.5 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mite.cmd-0.1.7 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
Overbryd-mite.cmd-0.1.9 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb
yolk-mite-rb-0.0.2 lib/mite/customer.rb
yolk-mite-rb-0.0.3 lib/mite/customer.rb
mite.cmd-0.1.10 vendor/yolk-mite-rb-0.0.3/lib/mite/customer.rb