Class: Cufinder::CufResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::CufResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Overview
Response types for each service
Instance Attribute Summary collapse
-
#domain ⇒ Object
Returns the value of attribute domain.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ CufResponse
constructor
A new instance of CufResponse.
Constructor Details
#initialize(data = {}) ⇒ CufResponse
Returns a new instance of CufResponse.
154 155 156 157 |
# File 'lib/cufinder_ruby/types.rb', line 154 def initialize(data = {}) super(data) @domain = data["domain"] end |
Instance Attribute Details
#domain ⇒ Object
Returns the value of attribute domain.
152 153 154 |
# File 'lib/cufinder_ruby/types.rb', line 152 def domain @domain end |