Class: NflData::Player

Inherits:
Struct
  • Object
show all
Defined in:
lib/nfl_data/player.rb

Instance Attribute Summary collapse

Instance Attribute Details

#first_nameObject

Returns the value of attribute first_name

Returns:

  • (Object)

    the current value of first_name



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def first_name
  @first_name
end

#full_nameObject

Returns the value of attribute full_name

Returns:

  • (Object)

    the current value of full_name



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def full_name
  @full_name
end

#image_sourceObject

Returns the value of attribute image_source

Returns:

  • (Object)

    the current value of image_source



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def image_source
  @image_source
end

#last_nameObject

Returns the value of attribute last_name

Returns:

  • (Object)

    the current value of last_name



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def last_name
  @last_name
end

#msf_player_idObject

Returns the value of attribute msf_player_id

Returns:

  • (Object)

    the current value of msf_player_id



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def msf_player_id
  @msf_player_id
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def number
  @number
end

#positionObject

Returns the value of attribute position

Returns:

  • (Object)

    the current value of position



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def position
  @position
end

#teamObject

Returns the value of attribute team

Returns:

  • (Object)

    the current value of team



2
3
4
# File 'lib/nfl_data/player.rb', line 2

def team
  @team
end