Class: Crown::Livedoor::Clip
- Inherits:
-
Object
- Object
- Crown::Livedoor::Clip
- Defined in:
- lib/crown/livedoor/clip.rb
Class Method Summary collapse
-
.count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #.
Instance Method Summary collapse
-
#count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #.
Class Method Details
.count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #
Clip.count
指定した URL のクリップ数(ブックマーク数)を取得する.
--------------------------------------------------------------- #
46 47 48 |
# File 'lib/crown/livedoor/clip.rb', line 46 def Clip.count(uri, = {}) return Crown::Livedoor::ClipCounter.new.count(uri, ) end |
Instance Method Details
#count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #
count
指定した URL のクリップ数(ブックマーク数)を取得する.
--------------------------------------------------------------- #
57 58 59 |
# File 'lib/crown/livedoor/clip.rb', line 57 def count(uri, = {}) return Crown::Livedoor::ClipCounter.new.count(uri, ) end |