Class: Uber::Product

Inherits:
Base
  • Object
show all
Defined in:
lib/uber/models/product.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], #initialize

Constructor Details

This class inherits a constructor from Uber::Base

Instance Attribute Details

#capacityObject

Returns the value of attribute capacity.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def capacity
  @capacity
end

#cash_enabledObject

Returns the value of attribute cash_enabled.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def cash_enabled
  @cash_enabled
end

#descriptionObject

Returns the value of attribute description.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def description
  @description
end

#display_nameObject

Returns the value of attribute display_name.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def display_name
  @display_name
end

#imageObject

Returns the value of attribute image.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def image
  @image
end

#price_detailsObject

Returns the value of attribute price_details.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def price_details
  @price_details
end

#product_idObject

Returns the value of attribute product_id.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def product_id
  @product_id
end

#sharedObject

Returns the value of attribute shared.



3
4
5
# File 'lib/uber/models/product.rb', line 3

def shared
  @shared
end