Class: Cufinder::CarResponse

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 = {}) ⇒ CarResponse

Returns a new instance of CarResponse.



300
301
302
303
# File 'lib/cufinder_ruby/types.rb', line 300

def initialize(data = {})
  super(data)
  @revenue = data["annual_revenue"]
end

Instance Attribute Details

#revenueObject

Returns the value of attribute revenue.



298
299
300
# File 'lib/cufinder_ruby/types.rb', line 298

def revenue
  @revenue
end