Class: Cufinder::PsaResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::PsaResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#contacts ⇒ Object
Returns the value of attribute contacts.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ PsaResponse
constructor
A new instance of PsaResponse.
Constructor Details
#initialize(data = {}) ⇒ PsaResponse
Returns a new instance of PsaResponse.
775 776 777 778 |
# File 'lib/cufinder_ruby/types.rb', line 775 def initialize(data = {}) super(data) @contacts = (data["contacts"] || []).map { |c| ContactSignal.new(c) } end |
Instance Attribute Details
#contacts ⇒ Object
Returns the value of attribute contacts.
773 774 775 |
# File 'lib/cufinder_ruby/types.rb', line 773 def contacts @contacts end |