lib/rentlinx/client.rb
# Pushes an object's attributes out to Rentlinx
#
# @param object [Rentlinx::Base] the object to be patched
Pushes an object's attributes out to Rentlinx
Pushes an object ' s attributes out to Rentlinx
def patch(object)
      case object
      when Rentlinx::Property
        raise Rentlinx::InvalidObject, object unless object.patch_valid?
        patch_property(object)
      else
        raise TypeError, "Type not permitted: #{object.class}"
      end
    end
def patch ( object ) case object when Rentlinx :: Property raise Rentlinx :: InvalidObject , object unless object . patch_valid? patch_property ( object ) else raise TypeError , "Type not permitted: #{object.class}" end end
Pushes an object's attributes out to Rentlinx
Pushes an object ' s attributes out to Rentlinx
object
the object to be patched
the object to be patched