Class: Harvesting::Models::Project

Inherits:
Base
  • Object
show all
Defined in:
lib/harvesting/models/project.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #client

Instance Method Summary collapse

Methods inherited from Base

attributed, #create, #initialize, #save, #to_hash, #update

Constructor Details

This class inherits a constructor from Harvesting::Models::Base

Instance Method Details

#pathObject



28
29
30
# File 'lib/harvesting/models/project.rb', line 28

def path
  id.nil? ? "projects" : "projects/#{id}"
end