Class: Cartola::Market::Status
- Inherits:
-
RestModel
- Object
- RestModel
- Cartola::Market::Status
- Defined in:
- lib/cartola/market/status.rb
Class Method Summary collapse
Class Method Details
.find ⇒ Object
20 21 22 23 24 |
# File 'lib/cartola/market/status.rb', line 20 def self.find response = RestClient.get 'https://api.cartolafc.globo.com/mercado/status' json = JSON.parse response.body from_source(json).first end |