Skip to content

Commit

Permalink
Resolved an issue where AWS::S3::BucketLifecycleConfiguration::Rule d…
Browse files Browse the repository at this point in the history
…ocumentation was not getting generated (was behind private).
  • Loading branch information
trevorrowe committed Dec 10, 2012
1 parent ff82752 commit 4978bb3
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lib/aws/s3/bucket_lifecycle_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -284,13 +284,6 @@ def persist force = false
end
end

protected
def parse_xml xml
Client::XML::GetBucketLifecycleConfiguration.parse(xml).rules.map do |r|
Rule.new(self, r.id, r.prefix, r.expiration.days, r.status)
end
end

# Represents a single rule from an Amazon S3 bucket lifecycle
# configuration.
#
Expand Down Expand Up @@ -355,6 +348,14 @@ def eql? other

end

protected

def parse_xml xml
Client::XML::GetBucketLifecycleConfiguration.parse(xml).rules.map do |r|
Rule.new(self, r.id, r.prefix, r.expiration.days, r.status)
end
end

end

end
Expand Down

0 comments on commit 4978bb3

Please sign in to comment.