Class: NflData::Player
- Inherits:
-
Struct
- Object
- Struct
- NflData::Player
- Defined in:
- lib/nfl_data/player.rb
Instance Attribute Summary collapse
-
#first_name ⇒ Object
Returns the value of attribute first_name.
-
#full_name ⇒ Object
Returns the value of attribute full_name.
-
#image_source ⇒ Object
Returns the value of attribute image_source.
-
#last_name ⇒ Object
Returns the value of attribute last_name.
-
#msf_player_id ⇒ Object
Returns the value of attribute msf_player_id.
-
#number ⇒ Object
Returns the value of attribute number.
-
#position ⇒ Object
Returns the value of attribute position.
-
#team ⇒ Object
Returns the value of attribute team.
Instance Attribute Details
#first_name ⇒ Object
Returns the value of attribute first_name
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def first_name @first_name end |
#full_name ⇒ Object
Returns the value of attribute full_name
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def full_name @full_name end |
#image_source ⇒ Object
Returns the value of attribute image_source
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def image_source @image_source end |
#last_name ⇒ Object
Returns the value of attribute last_name
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def last_name @last_name end |
#msf_player_id ⇒ Object
Returns the value of attribute msf_player_id
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def msf_player_id @msf_player_id end |
#number ⇒ Object
Returns the value of attribute number
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def number @number end |
#position ⇒ Object
Returns the value of attribute position
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def position @position end |
#team ⇒ Object
Returns the value of attribute team
2 3 4 |
# File 'lib/nfl_data/player.rb', line 2 def team @team end |