Class: Cufinder::JcaResponse

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 = {}) ⇒ 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_changesObject

Returns the value of attribute job_changes.



835
836
837
# File 'lib/cufinder_ruby/types.rb', line 835

def job_changes
  @job_changes
end