Sha256: 642cf72205153b3185ce5edb80cf108f7bdbb37111a75bfdcd6cee9137f53a7a

Contents?: true

Size: 605 Bytes

Versions: 111

Compression:

Stored size: 605 Bytes

Contents

module Fog
  module Parsers
    module CDN
      module AWS

        class PostInvalidation < Fog::Parsers::Base

          def reset
            @response = { 'InvalidationBatch' => { 'Path' => [] } }
          end

          def end_element(name)
            case name
            when 'CallerReference'
              @response['InvalidationBatch'][name] = value
            when 'CreateTime', 'Id', 'Status'
              @response[name] = value
            when 'Path'
              @response['InvalidationBatch'][name] << value
            end
          end

        end

      end
    end
  end
end

Version data entries

111 entries across 111 versions & 19 rubygems

Version Path
michiels-fog-1.3.1 lib/fog/aws/parsers/cdn/post_invalidation.rb
ftl-0.2.0 vendor/bundle/gems/fog-1.3.1/lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.3.1 lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.3.0 lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.2.0 lib/fog/aws/parsers/cdn/post_invalidation.rb
ktheory-fog-1.1.2 lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.1.2 lib/fog/aws/parsers/cdn/post_invalidation.rb
fog_tractical-1.1.4 lib/fog/aws/parsers/cdn/post_invalidation.rb
fog_tractical-1.1.3 lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.1.1 lib/fog/aws/parsers/cdn/post_invalidation.rb
fog-1.1.0 lib/fog/aws/parsers/cdn/post_invalidation.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/parsers/cdn/post_invalidation.rb