Class: Trendious::Tag

Inherits:
Entry
  • Object
show all
Defined in:
lib/trendious/tag.rb

Instance Attribute Summary

Attributes inherited from Entry

#entry

Instance Method Summary collapse

Methods inherited from Entry

#initialize, #link, #read, #type_path

Constructor Details

This class inherits a constructor from Trendious::Entry

Instance Method Details

#recent(page = 0) ⇒ Object



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

def recent(page = 0)
  @page = page
  fetch('recent')
end


3
4
5
6
# File 'lib/trendious/tag.rb', line 3

def trending(page = 0)
  @page = page
  fetch('trending')
end