Class: Crown::Livedoor::Reader

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

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

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

Reader.count

指定したフィード URL の購読者数を取得する.

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



46
47
48
# File 'lib/crown/livedoor/reader.rb', line 46

def Reader.count(feed_uri, options = {})
    return Crown::Livedoor::ReadCounter.new.count(feed_uri, options)
end

Instance Method Details

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

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

count

指定したフィード URL の購読者数を取得する.

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



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

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