class MojangApi::Whitelist::OneSeven

Protected Instance Methods

parse(input) click to toggle source
# File lib/mojang_api/whitelist/one_seven.rb, line 7
def parse(input)
  json = JSON.load(input)
  @profiles = json.map {|j| MojangApi.get_profile_from_uuid(j['uuid']) }
end