class Dota::API::Friend

Public Instance Methods

friended_at() click to toggle source
# File lib/dota/api/friend.rb, line 12
def friended_at
  Time.at(raw["friend_since"])
end
id() click to toggle source
# File lib/dota/api/friend.rb, line 4
def id
  raw["steamid"].to_i
end
relationship() click to toggle source
# File lib/dota/api/friend.rb, line 8
def relationship
  raw["relationship"]
end