Sha256: 103926704a535dffed66d2a939a3010a833e43c59063e56dbd7bf1f414c38ec2
Contents?: true
Size: 338 Bytes
Versions: 1
Compression:
Stored size: 338 Bytes
Contents
module FootStats class Live < Resource class Goal attr_reader :player_name, :period, :minute, :type def initialize(params) @player_name = params['@Jogador'] @period = params['@Periodo'] @minute = params['@Minuto'].to_i @type = params['@Tipo'] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
foot_stats-0.1.0 | lib/foot_stats/live_goal.rb |