Class: Bocu::Coub

Inherits:
Object
  • Object
show all
Includes:
CommonScopes, Her::Model
Defined in:
lib/bocu/coub.rb

Class Method Summary collapse

Class Method Details

.by_tag(tag_name) ⇒ Object



11
12
13
# File 'lib/bocu/coub.rb', line 11

def by_tag(tag_name)
  Bocu::Timelines::Tag.by_tag(tag_name)
end

.hotObject



15
16
17
# File 'lib/bocu/coub.rb', line 15

def hot
  Bocu::Timelines::Hot.all
end

.search(query) ⇒ Object



7
8
9
# File 'lib/bocu/coub.rb', line 7

def search(query)
  Search.with_query(query)
end