Class: Cufinder::CjaResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::CjaResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#jobs ⇒ Object
Returns the value of attribute jobs.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CjaResponse
constructor
A new instance of CjaResponse.
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
#jobs ⇒ Object
Returns the value of attribute jobs.
739 740 741 |
# File 'lib/cufinder_ruby/types.rb', line 739 def jobs @jobs end |