class FootballApi::Player
Attributes
id[RW]
name[RW]
number[RW]
pos[RW]
Public Class Methods
new(hash = {})
click to toggle source
# File lib/football_api/player.rb, line 5 def initialize(hash = {}) @number = hash[:number] @name = hash[:name] @pos = hash[:pos] @id = hash[:id] end