Class: Cartola::Market::Highlight
- Inherits:
-
RestModel
- Object
- RestModel
- Cartola::Market::Highlight
- Defined in:
- lib/cartola/market/highlight.rb
Class Method Summary collapse
Class Method Details
.find_all ⇒ Object
11 12 13 14 15 |
# File 'lib/cartola/market/highlight.rb', line 11 def self.find_all response = RestClient.get 'https://api.cartolafc.globo.com/mercado/destaques' json = JSON.parse response.body from_source(json) end |