class SocialAuthority::Client
Attributes
api[R]
Public Class Methods
new(access_id, secret_key)
click to toggle source
# File lib/social_authority/client.rb, line 5 def initialize(access_id, secret_key) @api = Api.new(access_id, secret_key) end
Public Instance Methods
fetch(user_ids, screen_names)
click to toggle source
# File lib/social_authority/client.rb, line 9 def fetch(user_ids, screen_names) api.fetch(user_ids, screen_names) end
fetch_screen_names(screen_names)
click to toggle source
# File lib/social_authority/client.rb, line 17 def fetch_screen_names(screen_names) api.fetch([], screen_names) end
fetch_user_ids(user_ids)
click to toggle source
# File lib/social_authority/client.rb, line 13 def fetch_user_ids(user_ids) api.fetch(user_ids, []) end