Class: C80Catoffers::Crow
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- C80Catoffers::Crow
- Defined in:
- app/models/c80_catoffers/crow.rb
Instance Method Summary collapse
Instance Method Details
#offer_price_integer ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/c80_catoffers/crow.rb', line 6 def offer_price_integer res = 0 if self.offer.present? res = self.offer.price_integer end res end |
#offer_title ⇒ Object
14 15 16 17 18 19 20 |
# File 'app/models/c80_catoffers/crow.rb', line 14 def offer_title res = '' if self.offer.present? res = self.offer.title end res end |