Module: AWS::SQS::Queue::PolicyProxy
- Defined in:
- lib/aws/sqs/queue.rb
Instance Attribute Summary collapse
-
#queue ⇒ Object
Returns the value of attribute queue.
Instance Method Summary collapse
Instance Attribute Details
#queue ⇒ Object
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
403 404 405 406 |
# File 'lib/aws/sqs/queue.rb', line 403 def change yield(self) queue.policy = self end |
#delete ⇒ Object
408 409 410 |
# File 'lib/aws/sqs/queue.rb', line 408 def delete queue.client.send(:set_attribute, 'Policy', '') end |