Class: Crown::Hatena::Bookmark
- Inherits:
-
Object
- Object
- Crown::Hatena::Bookmark
- Defined in:
- lib/crown/hatena/bookmark.rb,
lib/crown/hatena/bookmark/urilist.rb,
lib/crown/hatena/bookmark/entrylist.rb
Overview
————————————————————— #
Bookmark
————————————————————— #
Defined Under Namespace
Class Method Summary collapse
-
.count(uri, options = {}) ⇒ Object
————————————————————— #.
-
.summary(uri, options = {}) ⇒ Object
————————————————————— #.
Instance Method Summary collapse
-
#count(uri, options = {}) ⇒ Object
————————————————————— #.
-
#summary(uri, options = {}) ⇒ Object
————————————————————— #.
Class Method Details
.count(uri, options = {}) ⇒ Object
————————————————————— #
Bookmark.count
————————————————————— #
54 55 56 |
# File 'lib/crown/hatena/bookmark.rb', line 54 def Bookmark.count(uri, = {}) return Crown::Hatena::BookmarkCounter.new.count(uri, ) end |
.summary(uri, options = {}) ⇒ Object
————————————————————— #
Bookmark.summary
————————————————————— #
65 66 67 |
# File 'lib/crown/hatena/bookmark.rb', line 65 def Bookmark.summary(uri, = {}) return Crown::Hatena::Bookmark::Entry.new.summary(uri, ) end |
Instance Method Details
#count(uri, options = {}) ⇒ Object
————————————————————— #
count
————————————————————— #
76 77 78 |
# File 'lib/crown/hatena/bookmark.rb', line 76 def count(uri, = {}) return Crown::Hatena::BookmarkCounter.new.count(uri, ) end |
#summary(uri, options = {}) ⇒ Object
————————————————————— #
summary
————————————————————— #
87 88 89 |
# File 'lib/crown/hatena/bookmark.rb', line 87 def summary(uri, = {}) return Crown::Hatena::Bookmark::Entry.new.summary(uri, ) end |