Sha256: ff3f2b224a961aee7452809b80c1aa8a5089707a279b108008d2d708510deaf6

Contents?: true

Size: 345 Bytes

Versions: 1153

Compression:

Stored size: 345 Bytes

Contents

module Aws
  module Stubbing
    class XmlError

      def initialize(error_code)
        @error_code = error_code
      end

      def to_xml
        <<-XML.strip
<ErrorResponse>
  <Error>
    <Code>#{@error_code}</Code>
    <Message>stubbed-response-error-message</Message>
  </Error>
</ErrorResponse>
        XML
      end

    end
  end
end

Version data entries

1,153 entries across 1,153 versions & 2 rubygems

Version Path
aws-sdk-core-2.11.632 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.631 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.630 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.629 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.628 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.627 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.626 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.625 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.624 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.623 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.622 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.621 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.620 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.619 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.618 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.617 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.616 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.615 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.614 lib/aws-sdk-core/stubbing/xml_error.rb
aws-sdk-core-2.11.613 lib/aws-sdk-core/stubbing/xml_error.rb