Class: Crown::Delicious
- Inherits:
-
Object
- Object
- Crown::Delicious
- Defined in:
- lib/crown/delicious.rb,
lib/crown/delicious/counter.rb
Defined Under Namespace
Classes: BookmarkCounter
Class Method Summary collapse
-
.count(uri, options = {}) ⇒ Object
------------------------------------------------------------------- #.
Instance Method Summary collapse
-
#count(uri, options = {}) ⇒ Object
------------------------------------------------------------------- #.
Class Method Details
.count(uri, options = {}) ⇒ Object
------------------------------------------------------------------- #
Delicious.count
指定した URL のブックマーク数を取得する.
------------------------------------------------------------------- #
45 46 47 |
# File 'lib/crown/delicious.rb', line 45 def Delicious.count(uri, = {}) return Crown::Delicious::BookmarkCounter.new.count(uri, ) end |
Instance Method Details
#count(uri, options = {}) ⇒ Object
------------------------------------------------------------------- #
count
指定した URL のブックマーク数を取得する.
------------------------------------------------------------------- #
56 57 58 |
# File 'lib/crown/delicious.rb', line 56 def count(uri, = {}) return Crown::Delicious::BookmarkCounter.new.count(uri, ) end |