Class: LetsFreckle::User

Inherits:
Hashie::Mash
  • Object
show all
Extended by:
ClientResource
Defined in:
lib/letsfreckle/user.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/user.rb', line 5

def self.all
  get('users')
end

Instance Method Details

#entriesObject



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

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