Class: Cufinder::CompanyJob

Inherits:
Object
  • Object
show all
Defined in:
lib/cufinder_ruby/types.rb

Overview

CJA Company Job (combined company + job)

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#companyObject

Returns the value of attribute company.



730
731
732
# File 'lib/cufinder_ruby/types.rb', line 730

def company
  @company
end

#jobObject

Returns the value of attribute job.



730
731
732
# File 'lib/cufinder_ruby/types.rb', line 730

def job
  @job
end