Sha256: b65ccfa04644d66ed760ca457672b7bff81be0de4c8e1c5f849ad422a1a2af09

Contents?: true

Size: 674 Bytes

Versions: 5

Compression:

Stored size: 674 Bytes

Contents

require 'fantasydata/base'

module Fantasydata
  class TeamDetail < Fantasydata::Base
    attr_reader :key, :team_id, :player_id,
                :city, :name, :conference, :division, :full_name,
                :stadium_id, :bye_week, :average_draft_position,
                :average_draft_position_ppr, :head_coach,
                :offensive_coordinator, :defensive_coordinator,
                :special_teams_coach, :offensive_scheme,
                :defensive_scheme, :upcoming_salary,
                :upcoming_opponent_rank, :upcoming_opponent_position_rank


    def stadium
      @stadium ||= Fantasydata::Stadium.new(@attrs[:stadium_details])
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fantasydata-0.2.2 lib/fantasydata/team_detail.rb
fantasydata-0.2.1 lib/fantasydata/team_detail.rb
fantasydata-0.2.0 lib/fantasydata/team_detail.rb
fantasydata-0.0.2 lib/fantasydata/team_detail.rb
fantasydata-0.0.1 lib/fantasydata/team_detail.rb