Class: Cufinder::CefResponse

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

Returns a new instance of CefResponse.



642
643
644
645
# File 'lib/cufinder_ruby/types.rb', line 642

def initialize(data = {})
  super(data)
  @employees = (data["employees"] || []).map { |e| CefEmployee.new(e) }
end

Instance Attribute Details

#employeesObject

Returns the value of attribute employees.



640
641
642
# File 'lib/cufinder_ruby/types.rb', line 640

def employees
  @employees
end