Class: Cufinder::CsnResponse

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

Returns a new instance of CsnResponse.



581
582
583
584
# File 'lib/cufinder_ruby/types.rb', line 581

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

Instance Attribute Details

#company_snapshotObject

Returns the value of attribute company_snapshot.



579
580
581
# File 'lib/cufinder_ruby/types.rb', line 579

def company_snapshot
  @company_snapshot
end