Method: Aws::S3Interface::S3LoggingParser#tagend

Defined in:
lib/s3/s3_interface.rb

#tagend(name) ⇒ Object



1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
# File 'lib/s3/s3_interface.rb', line 1196

def tagend(name)
  case name
    # service info
    when 'TargetBucket'
      if @xmlpath == 'BucketLoggingStatus/LoggingEnabled'
        @result[:targetbucket] = @text
        @result[:enabled]      = true
      end
    when 'TargetPrefix'
      if @xmlpath == 'BucketLoggingStatus/LoggingEnabled'
        @result[:targetprefix] = @text
        @result[:enabled]      = true
      end
  end
end