Module: Awspec::Helper::Finder::Mq

Included in:
Awspec::Helper::Finder
Defined in:
lib/awspec/helper/finder/mq.rb

Instance Method Summary collapse

Instance Method Details

#find_broker(broker_id) ⇒ Object



4
5
6
7
8
# File 'lib/awspec/helper/finder/mq.rb', line 4

def find_broker(broker_id)
  mq_client.describe_broker({ broker_id: broker_id })
rescue
  nil
end