module ESPN::Client::Medals
Public: The mapping to the MEDALS API of the ESPN
developer API.
Examples
class Client include ESPN::Client::Medals end
Public Instance Methods
medals(opts={})
click to toggle source
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.
# File lib/espn/client/medals.rb, line 18 def medals(opts={}) get('sports/olympics/medals', opts) end