Sha256: 41761825e6b53c520c93cd5a2a25fdc297575449e35f91eaa5e9b960d5ac802c

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

class RallyNoResultsResponder < GenericResponder

  def call(env)
    @requests << request = Rack::Request.new(env)

    [200, {}, [
      <<-XML
        <QueryResult rallyAPIMajor="1" rallyAPIMinor="17">
        <Errors/>
        <Warnings/>
        <TotalResultCount>0</TotalResultCount>
        <StartIndex>1</StartIndex>
        <PageSize>20</PageSize>
        <Results/>
        </QueryResult>
      XML
    ]]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rallycat-0.4.1 spec/support/rally_no_results_responder.rb
rallycat-0.4.0 spec/support/rally_no_results_responder.rb
rallycat-0.3.1 spec/support/rally_no_results_responder.rb