Class: Cufinder::ElfResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- Cufinder::ElfResponse
- Defined in:
- lib/cufinder_ruby/types.rb
Instance Attribute Summary collapse
-
#fundraising ⇒ Object
Returns the value of attribute fundraising.
Attributes inherited from BaseResponse
#confidence_level, #credit_count, #meta_data, #query
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ElfResponse
constructor
A new instance of ElfResponse.
Constructor Details
#initialize(data = {}) ⇒ ElfResponse
Returns a new instance of ElfResponse.
291 292 293 294 |
# File 'lib/cufinder_ruby/types.rb', line 291 def initialize(data = {}) super(data) @fundraising = data["fundraising_info"] ? ElfFundraising.new(data["fundraising_info"]) : nil end |
Instance Attribute Details
#fundraising ⇒ Object
Returns the value of attribute fundraising.
289 290 291 |
# File 'lib/cufinder_ruby/types.rb', line 289 def fundraising @fundraising end |