Class: Cufinder::TepResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::TepResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#person ⇒ Object
Returns the value of attribute person.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ TepResponse
constructor
A new instance of TepResponse.
Constructor Details
#initialize(data = {}) ⇒ TepResponse
Returns a new instance of TepResponse.
420 421 422 423 |
# File 'lib/cufinder_ruby/types.rb', line 420 def initialize(data = {}) super(data) @person = data["person"] ? TepPerson.new(data["person"]) : nil end |
Instance Attribute Details
#person ⇒ Object
Returns the value of attribute person.
418 419 420 |
# File 'lib/cufinder_ruby/types.rb', line 418 def person @person end |