Class: Crown::Twitter::URI
- Inherits:
-
Object
- Object
- Crown::Twitter::URI
- Defined in:
- lib/crown/twitter/uri.rb
Overview
--------------------------------------------------------------- #
URI
Twitter API 経由である URL に対する各種情報を取得するクラス.
--------------------------------------------------------------- #
Class Method Summary collapse
-
.count(uri, options = {}) ⇒ Object
----------------------------------------------------------- # URI.count ----------------------------------------------------------- #.
Instance Method Summary collapse
-
#count(uri, options = {}) ⇒ Object
----------------------------------------------------------- # count ----------------------------------------------------------- #.
Class Method Details
.count(uri, options = {}) ⇒ Object
----------------------------------------------------------- # URI.count ----------------------------------------------------------- #
49 50 51 |
# File 'lib/crown/twitter/uri.rb', line 49 def URI.count(uri, = {}) return Crown::Twitter::URICounter.new.count(uri, ) end |
Instance Method Details
#count(uri, options = {}) ⇒ Object
----------------------------------------------------------- # count ----------------------------------------------------------- #
56 57 58 |
# File 'lib/crown/twitter/uri.rb', line 56 def count(uri, = {}) return Crown::Twitter::URICounter.new.count(uri, ) end |