Class: BaseParser
- Inherits:
-
Object
- Object
- BaseParser
- Defined in:
- lib/bob/parsers/base_parser.rb
Direct Known Subclasses
CompanyFieldParser, CompanyListParser, EmployeeParser, EmploymentHistoryParser, EquityGrantParser, LifecycleHistoryParser, OnboardingWizardParser, PayrollParser, SalaryParser, TableParser, TimeOffParser, TrainingParser, VariablePaymentParser, WorkHistoryParser
Instance Attribute Summary collapse
-
#json_response ⇒ Object
readonly
Returns the value of attribute json_response.
Instance Method Summary collapse
- #fields ⇒ Object
-
#initialize(json_response) ⇒ BaseParser
constructor
A new instance of BaseParser.
Constructor Details
#initialize(json_response) ⇒ BaseParser
Returns a new instance of BaseParser.
6 7 8 |
# File 'lib/bob/parsers/base_parser.rb', line 6 def initialize(json_response) @json_response = json_response end |
Instance Attribute Details
#json_response ⇒ Object (readonly)
Returns the value of attribute json_response.
4 5 6 |
# File 'lib/bob/parsers/base_parser.rb', line 4 def json_response @json_response end |