Sha256: f92d7e61d1629dd712969485c9b8eded07170e16f910e3b3fc7bff1d1888c3f8

Contents?: true

Size: 436 Bytes

Versions: 3

Compression:

Stored size: 436 Bytes

Contents

module Fog
  module Parsers
    module Google
      module Storage

        class GetBucketVersioning < Fog::Parsers::Base

          def reset
            @response = { 'VersioningConfiguration' => {} }
          end

          def end_element(name)
            case name
            when 'Status'
              @response['VersioningConfiguration'][name] = value
            end
          end

        end

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-0.8.2 lib/fog/storage/parsers/google/get_bucket_versioning.rb
fog-0.8.1 lib/fog/storage/parsers/google/get_bucket_versioning.rb
fog-0.8.0 lib/fog/storage/parsers/google/get_bucket_versioning.rb