class FootballApi::Event
Constants
- TYPES
Attributes
event_id[RW]
event_match_id[RW]
event_minute[RW]
event_player[RW]
event_player_id[RW]
event_result[RW]
event_team[RW]
event_type[RW]
Public Class Methods
new(hash = {})
click to toggle source
# File lib/football_api/event.rb, line 8 def initialize(hash = {}) @event_id = hash[:event_id] @event_match_id = hash[:event_match_id] @event_type = hash[:event_type] @event_minute = hash[:event_minute] @event_team = hash[:event_team] @event_player = hash[:event_player] @event_player_id = hash[:event_player_id] @event_result = hash[:event_result] end