Class: SuperQueue::S3Pointer

Inherits:
Hash
  • Object
show all
Defined in:
lib/super_queue.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ S3Pointer

Returns a new instance of S3Pointer.



8
9
10
11
# File 'lib/super_queue.rb', line 8

def initialize(key)
  super
  self.merge!(:s3_key => key)
end

Instance Method Details

#s3_keyObject



13
14
15
# File 'lib/super_queue.rb', line 13

def s3_key
  self[:s3_key]
end

#s3_key=(value) ⇒ Object



17
18
19
# File 'lib/super_queue.rb', line 17

def s3_key=(value)
  self[:s3_key] = value
end