Class: WorkHistoryParser

Inherits:
BaseParser show all
Defined in:
lib/bob/parsers/work_history_parser.rb

Instance Attribute Summary

Attributes inherited from BaseParser

#json_response

Instance Method Summary collapse

Methods inherited from BaseParser

#fields, #initialize

Constructor Details

This class inherits a constructor from BaseParser

Instance Method Details

#work_historiesObject



4
5
6
# File 'lib/bob/parsers/work_history_parser.rb', line 4

def work_histories
  json_response['values'].map { |attributes| Models::WorkHistory.new(attributes) }
end