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.



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

def capacity
  @capacity
end

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#display_nameObject

Returns the value of attribute display_name.



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

def display_name
  @display_name
end

#imageObject

Returns the value of attribute image.



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

def image
  @image
end

#product_idObject

Returns the value of attribute product_id.



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

def product_id
  @product_id
end