Module: ESPN::Client::Medals
- Included in:
- ESPN::Client
- Defined in:
- lib/espn/client/medals.rb
Overview
Instance Method Summary collapse
-
#medals(opts = {}) ⇒ Object
Public: Get medal counts and competition from the olympic games.
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.
18 19 20 |
# File 'lib/espn/client/medals.rb', line 18 def medals(opts={}) get('sports/olympics/medals', opts) end |