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

Version Path
sports_data_api-0.15.3 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.15.2 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.15.1 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.15.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.14.1 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.14.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.13.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.12.1 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.12.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.6 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.5 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.3 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.2 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.1 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.11.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.10.1 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.10.0 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.9.2 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.2.4 lib/sports_data_api/ncaafb/poll_team.rb
sports_data_api-0.2.3 lib/sports_data_api/ncaafb/poll_team.rb