Class: Crown::Google::PlusOne
- Inherits:
-
Object
- Object
- Crown::Google::PlusOne
- Defined in:
- lib/crown/google/plusone.rb,
lib/crown/google/plusone/counter.rb
Overview
------------------------------------------------------------------- # PlusOne ------------------------------------------------------------------- #
Defined Under Namespace
Classes: URICounter
Class Method Summary collapse
-
.count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #.
Instance Method Summary collapse
-
#count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #.
Class Method Details
.count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #
PlusOne.count
指定した URL のカウント数を取得する
--------------------------------------------------------------- #
49 50 51 |
# File 'lib/crown/google/plusone.rb', line 49 def PlusOne.count(uri, = {}) return Crown::Google::PlusOne::URICounter.new.count(uri, ) end |
Instance Method Details
#count(uri, options = {}) ⇒ Object
--------------------------------------------------------------- #
count
指定した URL のカウント数を取得する
--------------------------------------------------------------- #
60 61 62 |
# File 'lib/crown/google/plusone.rb', line 60 def count(uri, = {}) return Crown::Google::PlusOne::URICounter.new.count(uri, ) end |