module Soccerama::Client::Events

Public Instance Methods

events(match_id, options: nil) click to toggle source
# File lib/soccerama/client/events.rb, line 4
def events(match_id, options: nil)
  endpoint = "/events/match/#{match}"
  get(endpoint, { include: options }).fetch('data')
end