Class: Cufinder::ElfResponse

Inherits:
BaseResponse show all
Defined in:
lib/cufinder_ruby/types.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResponse

#confidence_level, #credit_count, #meta_data, #query

Instance Method Summary collapse

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

#fundraisingObject

Returns the value of attribute fundraising.



289
290
291
# File 'lib/cufinder_ruby/types.rb', line 289

def fundraising
  @fundraising
end