Class: Clashinator::Season

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

Overview

This class represents the league model through the league model

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ Season

Returns a new instance of Season.



7
8
9
# File 'lib/clashinator/season.rb', line 7

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



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

def id
  @id
end