Class: ApiSports::Season

Inherits:
Object
  • Object
show all
Defined in:
lib/api_sports/objects/season.rb

Instance Method Summary collapse

Methods inherited from Object

#to_ostruct

Constructor Details

#initialize(year) ⇒ Season

Returns a new instance of Season.



5
6
7
# File 'lib/api_sports/objects/season.rb', line 5

def initialize(year)
  super({ year: year })
end