lib/rets/client.rb
# Returns an array of specified objects.
Returns an array of specified objects.
Returns an array of specified objects .
def objects(object_ids, opts = {})
      response = case object_ids
        when String then fetch_object(object_ids, opts)
        when Array  then fetch_object(object_ids.join(":"), opts)
        else raise ArgumentError, "Expected instance of String or Array, but got #{object_ids.inspect}."
      end
      create_parts_from_response(response)
    end
def objects ( object_ids , opts = { } ) response = case object_ids when String then fetch_object ( object_ids , opts ) when Array then fetch_object ( object_ids . join ( ":" ) , opts ) else raise ArgumentError , "Expected instance of String or Array, but got #{object_ids.inspect}." end create_parts_from_response ( response ) end
Returns an array of specified objects.
Returns an array of specified objects .
object_ids
opts