Class: FipExtractor::ModelResponse

Inherits:
Response
  • Object
show all
Defined in:
lib/fipextractor/model_response.rb

Instance Attribute Summary

Attributes inherited from Response

#all, #status

Instance Method Summary collapse

Methods inherited from Response

#error?, #initialize

Constructor Details

This class inherits a constructor from FipExtractor::Response

Instance Method Details

#modelsObject



6
7
8
# File 'lib/fipextractor/model_response.rb', line 6

def models
  all[:Modelos]
end

#yearsObject



10
11
12
# File 'lib/fipextractor/model_response.rb', line 10

def years
  all[:Anos]
end