lib/letsfreckle/project.rb in letsfreckle-client-0.1.2 vs lib/letsfreckle/project.rb in letsfreckle-client-0.2.0
- old
+ new
@@ -1,10 +1,10 @@
module LetsFreckle
class Project < DelegateClass(Hashie::Mash)
extend ClientResource
def self.all
- fetch('projects')
+ get('projects')
end
def entries
Entry.find(:projects => [id])
end