Module: ESPN::Client::Now
- Included in:
- ESPN::Client
- Defined in:
- lib/espn/client/now.rb
Overview
Instance Method Summary collapse
-
#now(opts = {}) ⇒ Object
Public: Get stream of the latest content published on ESPN.com.
Instance Method Details
#now(opts = {}) ⇒ Object
Public: Get stream of the latest content published on ESPN.com.
opts - Hash options used to refine the selection (default: {}).
:method - The type of content to retrieve (default: nil).
Returns an Array of Hashie::Mash
19 20 21 22 |
# File 'lib/espn/client/now.rb', line 19 def now(opts={}) pattern = 'now/:method' get(pattern, opts).feed end |