Sha256: e8d15de46c0828cad6484e3b1f567e922fee8bfc379b3eebc940c656709a6cdb
Contents?: true
Size: 288 Bytes
Versions: 19
Compression:
Stored size: 288 Bytes
Contents
module SportsDataApi module Nfl class TeamSeasonStats attr_reader :id, :stats def initialize(json) @id = json['id'] @stats = [] json['statistics'].each_pair do | key, val | @stats << { key: val } end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems