Class: AwsAlertMonitor::AWS::SQS

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-alert-monitor/aws/sqs.rb

Instance Method Summary collapse

Instance Method Details

#approximate_number_of_messages(url) ⇒ Object



9
10
11
# File 'lib/aws-alert-monitor/aws/sqs.rb', line 9

def approximate_number_of_messages(url)
  queue(url).approximate_number_of_messages
end

#receive_message(url) ⇒ Object



5
6
7
# File 'lib/aws-alert-monitor/aws/sqs.rb', line 5

def receive_message(url)
  queue(url).receive_message 
end