Class: Suggestion

Inherits:
MLS::Model show all
Defined in:
lib/mls/models/suggestion.rb

Constant Summary collapse

STATUS_OPTIONS =
%w(proposed confirmed rejected)

Instance Method Summary collapse

Instance Method Details

#sizeObject



9
10
11
# File 'lib/mls/models/suggestion.rb', line 9

def size
  read_attribute(:size) || listing.size
end