Class: CompanyFieldParser
- Inherits:
-
BaseParser
- Object
- BaseParser
- CompanyFieldParser
- Defined in:
- lib/bob/parsers/company_field_parser.rb
Instance Attribute Summary
Attributes inherited from BaseParser
Instance Method Summary collapse
Methods inherited from BaseParser
Constructor Details
This class inherits a constructor from BaseParser
Instance Method Details
#fields ⇒ Object
4 5 6 |
# File 'lib/bob/parsers/company_field_parser.rb', line 4 def fields json_response.map { |attributes| Models::CompanyField.new(attributes) } end |