Class: Fantasydata::DailyFantasyPlayer

Inherits:
Base
  • Object
show all
Defined in:
lib/fantasydata/daily_fantasy_player.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#==, attr_reader, #attrs, #initialize, #update

Constructor Details

This class inherits a constructor from Fantasydata::Base

Instance Attribute Details

#dateObject (readonly)

Returns the value of attribute date.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def date
  @date
end

#last_game_fantasy_pointsObject (readonly)

Returns the value of attribute last_game_fantasy_points.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def last_game_fantasy_points
  @last_game_fantasy_points
end

#nameObject (readonly)

Returns the value of attribute name.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def name
  @name
end

#opponentObject (readonly)

Returns the value of attribute opponent.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def opponent
  @opponent
end

#opponent_position_rankObject (readonly)

Returns the value of attribute opponent_position_rank.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def opponent_position_rank
  @opponent_position_rank
end

#opponent_rankObject (readonly)

Returns the value of attribute opponent_rank.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def opponent_rank
  @opponent_rank
end

#player_idObject (readonly)

Returns the value of attribute player_id.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def player_id
  @player_id
end

#positionObject (readonly)

Returns the value of attribute position.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def position
  @position
end

#projected_fantasy_pointsObject (readonly)

Returns the value of attribute projected_fantasy_points.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def projected_fantasy_points
  @projected_fantasy_points
end

#salaryObject (readonly)

Returns the value of attribute salary.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def salary
  @salary
end

#short_nameObject (readonly)

Returns the value of attribute short_name.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def short_name
  @short_name
end

#statusObject (readonly)

Returns the value of attribute status.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def status
  @status
end

#status_codeObject (readonly)

Returns the value of attribute status_code.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def status_code
  @status_code
end

#status_colorObject (readonly)

Returns the value of attribute status_color.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def status_color
  @status_color
end

#teamObject (readonly)

Returns the value of attribute team.


5
6
7
# File 'lib/fantasydata/daily_fantasy_player.rb', line 5

def team
  @team
end