Class: SellingWishlist

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

Instance Method Summary collapse

Instance Method Details

#show_detailsObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'app/models/selling_wishlist.rb', line 9

def show_details
  {
    id:                  self.id,
    name:                self.name,
    property_type_id:    self.property_type_id,
    listing_status:      self.listing_status,
    relationship:        self.relationship,
    planning_to_sell:    self.planning_to_sell,
    resident_status:     self.resident_status,
    beds_number:         self.beds_number,
    baths_number:        self.baths_number,
    square_footage:      self.square_footage,
    built_year:          self.built_year,
    lot_size:            self.lot_size,
    timeframe:           self.timeframe,
    interested_in:       self.interested_in
  }
end