game/player.rb
# data has already been JSON.parse'd so we can use mget.
data has already been JSON.parse'd so we can use mget.
data has already been JSON . parse ' d so we can use mget .
def parse data
    @id = data.fetch 'id'
    @name = data.fetch 'name'
    @game_ids = data.fetch 'games', []
    @authenticated = data.fetch 'authenticated', false
  end
def parse data @id = data . fetch 'id' @name = data . fetch 'name' @game_ids = data . fetch 'games' , [ ] @authenticated = data . fetch 'authenticated' , false end
data has already been JSON.parse'd so we can use mget.
data has already been JSON . parse ' d so we can use mget .
data
<not_specific>