lib/rentlinx/modules/amenityable.rb
# Posts the object's amenities
Posts the object's amenities
Posts the object ' s amenities
def post_amenities
      return if @amenities.nil?
      if @amenities.empty?
        Rentlinx.client.unpost_amenities_for(self)
      else
        Rentlinx.client.post_amenities(@amenities)
      end
    end
def post_amenities return if @amenities . nil? if @amenities . empty? Rentlinx . client . unpost_amenities_for ( self ) else Rentlinx . client . post_amenities ( @amenities ) end end
Posts the object's amenities
Posts the object ' s amenities