Class: LetsFreckle::Tag

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

def self.all
  get('tags')
end

Instance Method Details

#entriesObject



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

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