Class: KloutAPI::Identity
- Inherits:
-
Object
- Object
- KloutAPI::Identity
- Defined in:
- lib/klout/identity.rb
Overview
Represents an identity
Class Method Summary collapse
- .find_by_klout_id(klout_id) ⇒ Object
- .find_by_screen_name(screen_name) ⇒ Object
- .find_by_twitter_id(twitter_id) ⇒ Object
Class Method Details
.find_by_klout_id(klout_id) ⇒ Object
18 19 20 21 |
# File 'lib/klout/identity.rb', line 18 def find_by_klout_id(klout_id) response = KloutAPI.get "/identity.json/klout/#{klout_id}/tw", :query => {:key => KloutAPI.api_key} Hashie::Mash.new(response) end |