Class: Statium::Opta::Model::TournamentCalendar
- Inherits:
-
Object
- Object
- Statium::Opta::Model::TournamentCalendar
- Defined in:
- lib/statium/opta/model/tournament_calendar.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#endDate ⇒ Object
Returns the value of attribute endDate.
-
#id ⇒ Object
Returns the value of attribute id.
-
#lastUpdated ⇒ Object
Returns the value of attribute lastUpdated.
-
#name ⇒ Object
Returns the value of attribute name.
-
#ocId ⇒ Object
Returns the value of attribute ocId.
-
#startDate ⇒ Object
Returns the value of attribute startDate.
Instance Method Summary collapse
-
#initialize(params) ⇒ TournamentCalendar
constructor
A new instance of TournamentCalendar.
Constructor Details
#initialize(params) ⇒ TournamentCalendar
Returns a new instance of TournamentCalendar
13 14 15 16 17 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 13 def initialize(params) params.each do |key, value| instance_variable_set("@#{key}", value) end end |
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active
5 6 7 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 5 def active @active end |
#endDate ⇒ Object
Returns the value of attribute endDate
6 7 8 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 6 def endDate @endDate end |
#id ⇒ Object
Returns the value of attribute id
7 8 9 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 7 def id @id end |
#lastUpdated ⇒ Object
Returns the value of attribute lastUpdated
8 9 10 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 8 def lastUpdated @lastUpdated end |
#name ⇒ Object
Returns the value of attribute name
9 10 11 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 9 def name @name end |
#ocId ⇒ Object
Returns the value of attribute ocId
10 11 12 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 10 def ocId @ocId end |
#startDate ⇒ Object
Returns the value of attribute startDate
11 12 13 |
# File 'lib/statium/opta/model/tournament_calendar.rb', line 11 def startDate @startDate end |