Class: Crown::LinkedIn

Inherits:
Object
  • Object
show all
Defined in:
lib/crown/linkedin.rb,
lib/crown/linkedin/counter.rb

Defined Under Namespace

Classes: URICounter

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

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

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

LinkedIn.count

LinkedIn  API を介して,指定した URL へのシェア数を取得する.

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



45
46
47
# File 'lib/crown/linkedin.rb', line 45

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

Instance Method Details

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

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

count

LinkedIn  API を介して,指定した URL へのシェア数を取得する.

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



56
57
58
# File 'lib/crown/linkedin.rb', line 56

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