Class: Cufinder::EncResponse

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

Returns a new instance of EncResponse.



455
456
457
458
# File 'lib/cufinder_ruby/types.rb', line 455

def initialize(data = {})
  super(data)
  @company = data["company"] ? EncCompany.new(data["company"]) : nil
end

Instance Attribute Details

#companyObject

Returns the value of attribute company.



453
454
455
# File 'lib/cufinder_ruby/types.rb', line 453

def company
  @company
end