lib/rentlinx/modules/linkable.rb
# Posts the object with associated links
#
# TODO: Discuss whether or not these kinds of methods are needed,
# or whether we should have post do everything every time.
Posts the object with associated links
TODO: Discuss whether or not these kinds of methods are needed,
or whether we should have post do everything every time.
Posts the object with associated links TODO : Discuss whether or not these kinds of methods are needed or whether we should have post do everything every time .
def add_link(options)
      options[:propertyID] = propertyID
      options[:unitID] = unitID if defined? unitID
      @links ||= []
      @links << link_class.new(options)
    end
def add_link ( options ) options [ :propertyID ] = propertyID options [ :unitID ] = unitID if defined? unitID @links ||= [ ] @links << link_class . new ( options ) end
Posts the object with associated links
TODO: Discuss whether or not these kinds of methods are needed,
or whether we should have post do everything every time.
Posts the object with associated links TODO : Discuss whether or not these kinds of methods are needed or whether we should have post do everything every time .
options
<not_specific>