def find_by_path(url, map={})
      object = find_object_by_path(url, map)

      if object.is_a?(Array)
        object.map{|o| klass.new(o.merge('cloud_id' => cloud.id))}
      elsif object['id']
        klass.new(object.merge('cloud_id' => cloud.id))
      else
        raise APIError.new(object)
      end
    end
def find_by_path(url, map={})
      object = find_object_by_path(url, map)

      if object.is_a?(Array)
        object.map{|o| klass.new(o.merge('cloud_id' => cloud.id))}
      elsif object['id']
        klass.new(object.merge('cloud_id' => cloud.id))
      else
        raise APIError.new(object)
      end
    end
Overide the function to set the cloud_id as the same as the scope