Class: ApiSports::Season
- Defined in:
- lib/api_sports/objects/season.rb
Instance Method Summary collapse
-
#initialize(year) ⇒ Season
constructor
A new instance of Season.
Methods inherited from Object
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 |