Class: Cufinder::CsnResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::CsnResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#company_snapshot ⇒ Object
Returns the value of attribute company_snapshot.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CsnResponse
constructor
A new instance of CsnResponse.
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_snapshot ⇒ Object
Returns the value of attribute company_snapshot.
579 580 581 |
# File 'lib/cufinder_ruby/types.rb', line 579 def company_snapshot @company_snapshot end |