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