Class: Shoppy::CustomerAddress

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/shoppy/customer_address.rb

Direct Known Subclasses

CustomerAddress

Instance Method Summary collapse

Instance Method Details

#customerObject

Relationships



4
# File 'app/models/shoppy/customer_address.rb', line 4

belongs_to :customer

#nameObject

Validators



10
# File 'app/models/shoppy/customer_address.rb', line 10

validates :name,            presence: true