Sha256: 135285cb15725cc9d3cfc4f23bdc973fa42c6da77475afa23d10ccaeb6c64287

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

module S3Secure::Summary
  class Item
    attr_reader :bucket
    def initialize(bucket, properties={})
      @bucket, @properties = bucket, properties
    end

    def method_missing(name, *args, &block)
      if @properties.key?(name)
        @properties[name]
      else
        super
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
s3-secure-0.7.0 lib/s3_secure/summary/item.rb
s3-secure-0.6.1 lib/s3_secure/summary/item.rb
s3-secure-0.6.0 lib/s3_secure/summary/item.rb