Class: PrizePicks::Entry
- Defined in:
- lib/prizepicks/objects/entry.rb
Instance Method Summary collapse
Methods inherited from Base
#attributes, #data, #initialize, #to_obstruct
Constructor Details
This class inherits a constructor from PrizePicks::Base
Instance Method Details
#related_predictions ⇒ Object
4 5 6 |
# File 'lib/prizepicks/objects/entry.rb', line 4 def data.dig('relationships', 'predictions', 'data').map { |d| d['id'] } end |