Module: ESPN::Client::Medals

Included in:
ESPN::Client
Defined in:
lib/espn/client/medals.rb

Instance Method Summary collapse

Instance Method Details

#medals(opts = {}) ⇒ Object

Public: Get medal counts and competition from the olympic games.

opts - Hash options used to refine the selection (default: {}).

Returns an Array of Hashie::Mash.



10
11
12
# File 'lib/espn/client/medals.rb', line 10

def medals(opts={})
  get('sports/olympics/medals', opts)
end