Class: BasecampAPI::TimeEntry

Inherits:
Resource
  • Object
show all
Defined in:
lib/basecamp/basecamp.rb

Class Method Summary collapse

Methods inherited from Resource

element_name, parent_resources, prefix, prefix_source

Class Method Details

.all(project_id, page = 0) ⇒ Object


345
346
347
# File 'lib/basecamp/basecamp.rb', line 345

def self.all(project_id, page = 0)
  find(:all, :params => { :project_id => project_id, :page => page })
end

.report(options = {}) ⇒ Object


349
350
351
# File 'lib/basecamp/basecamp.rb', line 349

def self.report(options={})
  find(:all, :from => :report, :params => options)
end