class SportsDataApi::Ncaafb::PollTeam

Attributes

fp_votes[R]
id[R]
losses[R]
market[R]
name[R]
points[R]
rank[R]
ties[R]
wins[R]

Public Class Methods

new(poll_team_hash) click to toggle source
# File lib/sports_data_api/ncaafb/poll_team.rb, line 5
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