Sha256: afa9d7ad7f3e3f58c97486068660a691fb61c0fe32add49aee670f4f9d58fe26
Contents?: true
Size: 576 Bytes
Versions: 20
Compression:
Stored size: 576 Bytes
Contents
module SportsDataApi module Ncaafb class PollTeam attr_reader :id, :name, :market, :points, :fp_votes, :wins, :losses, :ties, :rank def initialize(poll_team_hash) @id = poll_team_hash['id'] @name = poll_team_hash['name'] @rank = poll_team_hash['rank'] @market = poll_team_hash['market'] @points = poll_team_hash['points'] @fp_votes = poll_team_hash['fp_votes'] @wins = poll_team_hash['wins'] @losses = poll_team_hash['losses'] @ties = poll_team_hash['ties'] end end end end
Version data entries
20 entries across 20 versions & 1 rubygems