Class: Fantasydata::TeamDetail
- Defined in:
- lib/fantasydata/team_detail.rb
Instance Attribute Summary collapse
-
#average_draft_position ⇒ Object
readonly
Returns the value of attribute average_draft_position.
-
#average_draft_position_ppr ⇒ Object
readonly
Returns the value of attribute average_draft_position_ppr.
-
#bye_week ⇒ Object
readonly
Returns the value of attribute bye_week.
-
#city ⇒ Object
readonly
Returns the value of attribute city.
-
#conference ⇒ Object
readonly
Returns the value of attribute conference.
-
#defensive_coordinator ⇒ Object
readonly
Returns the value of attribute defensive_coordinator.
-
#defensive_scheme ⇒ Object
readonly
Returns the value of attribute defensive_scheme.
-
#division ⇒ Object
readonly
Returns the value of attribute division.
-
#full_name ⇒ Object
readonly
Returns the value of attribute full_name.
-
#head_coach ⇒ Object
readonly
Returns the value of attribute head_coach.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#offensive_coordinator ⇒ Object
readonly
Returns the value of attribute offensive_coordinator.
-
#offensive_scheme ⇒ Object
readonly
Returns the value of attribute offensive_scheme.
-
#player_id ⇒ Object
readonly
Returns the value of attribute player_id.
-
#special_teams_coach ⇒ Object
readonly
Returns the value of attribute special_teams_coach.
-
#stadium_id ⇒ Object
readonly
Returns the value of attribute stadium_id.
-
#team_id ⇒ Object
readonly
Returns the value of attribute team_id.
-
#upcoming_opponent_position_rank ⇒ Object
readonly
Returns the value of attribute upcoming_opponent_position_rank.
-
#upcoming_opponent_rank ⇒ Object
readonly
Returns the value of attribute upcoming_opponent_rank.
-
#upcoming_salary ⇒ Object
readonly
Returns the value of attribute upcoming_salary.
Instance Method Summary collapse
Methods inherited from Base
#==, attr_reader, #attrs, #initialize, #update
Constructor Details
This class inherits a constructor from Fantasydata::Base
Instance Attribute Details
#average_draft_position ⇒ Object (readonly)
Returns the value of attribute average_draft_position.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def average_draft_position @average_draft_position end |
#average_draft_position_ppr ⇒ Object (readonly)
Returns the value of attribute average_draft_position_ppr.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def average_draft_position_ppr @average_draft_position_ppr end |
#bye_week ⇒ Object (readonly)
Returns the value of attribute bye_week.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def bye_week @bye_week end |
#city ⇒ Object (readonly)
Returns the value of attribute city.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def city @city end |
#conference ⇒ Object (readonly)
Returns the value of attribute conference.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def conference @conference end |
#defensive_coordinator ⇒ Object (readonly)
Returns the value of attribute defensive_coordinator.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def defensive_coordinator @defensive_coordinator end |
#defensive_scheme ⇒ Object (readonly)
Returns the value of attribute defensive_scheme.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def defensive_scheme @defensive_scheme end |
#division ⇒ Object (readonly)
Returns the value of attribute division.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def division @division end |
#full_name ⇒ Object (readonly)
Returns the value of attribute full_name.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def full_name @full_name end |
#head_coach ⇒ Object (readonly)
Returns the value of attribute head_coach.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def head_coach @head_coach end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def key @key end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def name @name end |
#offensive_coordinator ⇒ Object (readonly)
Returns the value of attribute offensive_coordinator.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def offensive_coordinator @offensive_coordinator end |
#offensive_scheme ⇒ Object (readonly)
Returns the value of attribute offensive_scheme.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def offensive_scheme @offensive_scheme end |
#player_id ⇒ Object (readonly)
Returns the value of attribute player_id.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def player_id @player_id end |
#special_teams_coach ⇒ Object (readonly)
Returns the value of attribute special_teams_coach.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def special_teams_coach @special_teams_coach end |
#stadium_id ⇒ Object (readonly)
Returns the value of attribute stadium_id.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def stadium_id @stadium_id end |
#team_id ⇒ Object (readonly)
Returns the value of attribute team_id.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def team_id @team_id end |
#upcoming_opponent_position_rank ⇒ Object (readonly)
Returns the value of attribute upcoming_opponent_position_rank.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def upcoming_opponent_position_rank @upcoming_opponent_position_rank end |
#upcoming_opponent_rank ⇒ Object (readonly)
Returns the value of attribute upcoming_opponent_rank.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def upcoming_opponent_rank @upcoming_opponent_rank end |
#upcoming_salary ⇒ Object (readonly)
Returns the value of attribute upcoming_salary.
5 6 7 |
# File 'lib/fantasydata/team_detail.rb', line 5 def upcoming_salary @upcoming_salary end |
Instance Method Details
#stadium ⇒ Object
15 16 17 |
# File 'lib/fantasydata/team_detail.rb', line 15 def stadium @stadium ||= Fantasydata::Stadium.new(@attrs[:stadium_details]) end |