Class: Crown::Delicious

Inherits:
Object
  • Object
show all
Defined in:
lib/crown/delicious.rb,
lib/crown/delicious/counter.rb

Defined Under Namespace

Classes: BookmarkCounter

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.count(uri, options = {}) ⇒ Object

——————————————————————- #

Delicious.count

指定した URL のブックマーク数を取得する.

——————————————————————- #



45
46
47
# File 'lib/crown/delicious.rb', line 45

def Delicious.count(uri, options = {})
    return Crown::Delicious::BookmarkCounter.new.count(uri, options)
end

Instance Method Details

#count(uri, options = {}) ⇒ Object

——————————————————————- #

count

指定した URL のブックマーク数を取得する.

——————————————————————- #



56
57
58
# File 'lib/crown/delicious.rb', line 56

def count(uri, options = {})
    return Crown::Delicious::BookmarkCounter.new.count(uri, options)
end