Class: Shoppy::PaymentMethod
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Shoppy::PaymentMethod
- Defined in:
- app/models/shoppy/payment_method.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#caps ⇒ Object
Filters.
-
#name ⇒ Object
Validators.
-
#orders ⇒ Object
Relationships.
Instance Method Details
#caps ⇒ Object
Filters
7 |
# File 'app/models/shoppy/payment_method.rb', line 7 before_save :caps |
#name ⇒ Object
Validators
10 |
# File 'app/models/shoppy/payment_method.rb', line 10 validates :name, presence: true |
#orders ⇒ Object
Relationships
4 |
# File 'app/models/shoppy/payment_method.rb', line 4 has_many :orders, dependent: :nullify |