class Forecast::API::Projects
Public Instance Methods
create()
click to toggle source
# File lib/forecast/api/projects.rb, line 18 def create ; raise "not implemented" ; end
delete()
click to toggle source
# File lib/forecast/api/projects.rb, line 20 def delete ; raise "not implemented" ; end
find_by_harvest_id(harvest_project_id)
click to toggle source
# File lib/forecast/api/projects.rb, line 8 def find_by_harvest_id(harvest_project_id) selected = self.all.select{|x| x.harvest_id == harvest_project_id} if selected.size > 1 raise "Forecasted::Error - more than 1 harvest_id forecast project" else return selected.first end end
update()
click to toggle source
# File lib/forecast/api/projects.rb, line 19 def update ; raise "not implemented" ; end