Class: Cufinder::JcaResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::JcaResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#job_changes ⇒ Object
Returns the value of attribute job_changes.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ JcaResponse
constructor
A new instance of JcaResponse.
Constructor Details
#initialize(data = {}) ⇒ JcaResponse
Returns a new instance of JcaResponse.
837 838 839 840 |
# File 'lib/cufinder_ruby/types.rb', line 837 def initialize(data = {}) super(data) @job_changes = (data["job_changes"] || []).map { |j| JobChange.new(j) } end |
Instance Attribute Details
#job_changes ⇒ Object
Returns the value of attribute job_changes.
835 836 837 |
# File 'lib/cufinder_ruby/types.rb', line 835 def job_changes @job_changes end |