Class: Shoppy::OrderLine
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Shoppy::OrderLine
- Defined in:
- app/models/shoppy/order_line.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#order ⇒ Object
Relationships.
-
#price_per_one ⇒ Object
Validators.
Instance Method Details
#order ⇒ Object
Relationships
4 |
# File 'app/models/shoppy/order_line.rb', line 4 belongs_to :order |
#price_per_one ⇒ Object
Validators
9 |
# File 'app/models/shoppy/order_line.rb', line 9 validates :price_per_one, presence: true |