Module: PrizePicks::Api::Endpoints::Projections
- Included in:
- PrizePicks::Api::Endpoints
- Defined in:
- lib/prizepicks/api/endpoints/projections.rb
Constant Summary collapse
- ENDPOINT =
'/v1/projections'
Instance Method Summary collapse
Instance Method Details
#projections(options = {}) ⇒ Object
8 9 10 11 |
# File 'lib/prizepicks/api/endpoints/projections.rb', line 8 def projections( = {}) resp = request(:get, ENDPOINT, ) Collection.from_response(resp, type: Projection) end |