Module: AWS::SQS::Queue::PolicyProxy

Defined in:
lib/aws/sqs/queue.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#queueObject

Returns the value of attribute queue


401
402
403
# File 'lib/aws/sqs/queue.rb', line 401

def queue
  @queue
end

Instance Method Details

#change {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:


403
404
405
406
# File 'lib/aws/sqs/queue.rb', line 403

def change
  yield(self)
  queue.policy = self
end

#deleteObject


408
409
410
# File 'lib/aws/sqs/queue.rb', line 408

def delete
  queue.client.send(:set_attribute, 'Policy', '')
end