Class: Crown::Livedoor::Clip

Inherits:
Object
  • Object
show all
Defined in:
lib/crown/livedoor/clip.rb

Class Method Summary collapse

Instance Method Summary collapse

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, options = {})
    return Crown::Livedoor::ClipCounter.new.count(uri, options)
end

Instance Method Details

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

————————————————————— #

count

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

————————————————————— #



57
58
59
# File 'lib/crown/livedoor/clip.rb', line 57

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