Class: Cufinder::CompanyJob
- Inherits:
-
Object
- Object
- Cufinder::CompanyJob
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
CJA Company Job (combined company + job)
Instance Attribute Summary collapse
-
#company ⇒ Object
Returns the value of attribute company.
-
#job ⇒ Object
Returns the value of attribute job.
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CompanyJob
constructor
A new instance of CompanyJob.
Constructor Details
#initialize(data = {}) ⇒ CompanyJob
Returns a new instance of CompanyJob.
732 733 734 735 |
# File 'lib/cufinder_ruby/types.rb', line 732 def initialize(data = {}) @company = data["company"] ? CjaCompany.new(data["company"]) : nil @job = data["job"] ? CjaJob.new(data["job"]) : nil end |
Instance Attribute Details
#company ⇒ Object
Returns the value of attribute company.
730 731 732 |
# File 'lib/cufinder_ruby/types.rb', line 730 def company @company end |
#job ⇒ Object
Returns the value of attribute job.
730 731 732 |
# File 'lib/cufinder_ruby/types.rb', line 730 def job @job end |