Skip to content

Instantly share code, notes, and snippets.

@nikz
Created June 23, 2009 04:49
Show Gist options
  • Select an option

  • Save nikz/134364 to your computer and use it in GitHub Desktop.

Select an option

Save nikz/134364 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'activesupport'
require 'harvest'
harvest = Harvest(:email => "lulz",
:password => "lulz",
:sub_domain => "lulz")
project = harvest.projects.find(:all).first
entries = project.entries(:from => 1.month.ago, :to => Time.now)
puts entries.map { |e| [e.notes, e.hours] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment