Class: LetsFreckle::Project

Inherits:
Hashie::Mash
  • Object
show all
Extended by:
ClientResource
Defined in:
lib/letsfreckle/project.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from ClientResource

base_api_url, get, post, relative_path_for

Class Method Details

.allObject



5
6
7
# File 'lib/letsfreckle/project.rb', line 5

def self.all
  get('projects')
end

Instance Method Details

#entriesObject



9
10
11
# File 'lib/letsfreckle/project.rb', line 9

def entries
  Entry.find(:projects => [id])
end