Object
# File lib/sqs/right_sqs_gen2.rb, line 309 def initialize(queue, id=nil, rh = nil, body=nil, visibility=nil, attributes=nil) @queue = queue @id = id @receipt_handle = rh @body = body @visibility = visibility @attributes = attributes @sent_at = nil @received_at = nil @send_checksum = nil @receive_checksum = nil end
Removes message from queue. Returns true.
# File lib/sqs/right_sqs_gen2.rb, line 335 def delete @queue.sqs.interface.delete_message(@queue.url, @receipt_handle) if @receipt_handle end
Generated with the Darkfish Rdoc Generator 2.