Class: GiftCard
- Inherits:
-
ActiveRecordShared
- Object
- ActiveRecord::Base
- ActiveRecordShared
- GiftCard
- Defined in:
- app/models/gift_card.rb
Class Method Summary collapse
-
.search(params = {}) ⇒ Object
include GiftCardSearch.
Instance Method Summary collapse
Class Method Details
.search(params = {}) ⇒ Object
include GiftCardSearch
18 19 20 |
# File 'app/models/gift_card.rb', line 18 def self.search(params={}) GiftCardSearch.new(params).gift_cards end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'app/models/gift_card.rb', line 13 def to_s number end |