Class: Statium::Opta::Model::LiveData

Inherits:
Object
  • Object
show all
Defined in:
lib/statium/opta/model/live_data.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ LiveData

Returns a new instance of LiveData



7
8
9
# File 'lib/statium/opta/model/live_data.rb', line 7

def initialize(params)
  @matchDetails = MatchDetails.new(params['matchDetails'])
end

Instance Attribute Details

#matchDetailsObject

Returns the value of attribute matchDetails



5
6
7
# File 'lib/statium/opta/model/live_data.rb', line 5

def matchDetails
  @matchDetails
end