Sha256: 3b9f0677ea4a82a738afb72350f4ed1467c1550f34ea718d5d7b90e0b6b04771

Contents?: true

Size: 507 Bytes

Versions: 13

Compression:

Stored size: 507 Bytes

Contents

module Fog
  module Parsers
    module Storage
      module AWS
        class GetBucketWebsite < Fog::Parsers::Base
          def reset
            @response = { 'ErrorDocument' => {}, 'IndexDocument' => {} }
          end

          def end_element(name)
            case name
            when 'Key'
              @response['ErrorDocument'][name] = value
            when 'Suffix'
              @response['IndexDocument'][name] = value
            end
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/aws/parsers/storage/get_bucket_website.rb
fog-1.24.0 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.11 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.10 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.9 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.8 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.7 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.6 lib/fog/aws/parsers/storage/get_bucket_website.rb
fog-1.23.0 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.4 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.3 lib/fog/aws/parsers/storage/get_bucket_website.rb
ns-fog-1.22.2 lib/fog/aws/parsers/storage/get_bucket_website.rb
fog-1.22.1 lib/fog/aws/parsers/storage/get_bucket_website.rb