class Traktr::User::Network
Public Instance Methods
followers(username = @client.username)
click to toggle source
# File lib/traktr/user/network.rb, line 4 def followers(username = @client.username) parse_response self.class.get('/' + File.join('followers.json', @client.api_key, username)) end
following(username = @client.username)
click to toggle source
# File lib/traktr/user/network.rb, line 8 def following(username = @client.username) parse_response self.class.get('/' + File.join('following.json', @client.api_key, username)) end
friends(username = @client.username)
click to toggle source
# File lib/traktr/user/network.rb, line 12 def friends(username = @client.username) parse_response self.class.get('/' + File.join('friends.json', @client.api_key, username)) end