Class: Cufinder::CjaResponse

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

Instance Attribute Summary collapse

Attributes inherited from BaseResponse

#confidence_level, #credit_count, #meta_data, #query

Instance Method Summary collapse

Constructor Details

#initialize(data = {}) ⇒ CjaResponse

Returns a new instance of CjaResponse.



741
742
743
744
# File 'lib/cufinder_ruby/types.rb', line 741

def initialize(data = {})
  super(data)
  @jobs = (data["jobs"] || []).map { |j| CompanyJob.new(j) }
end

Instance Attribute Details

#jobsObject

Returns the value of attribute jobs.



739
740
741
# File 'lib/cufinder_ruby/types.rb', line 739

def jobs
  @jobs
end