Module: Awspec::Helper::Finder::Ses

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

Instance Method Summary collapse

Instance Method Details

#find_ses_identity(id) ⇒ Object



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

def find_ses_identity(id)
  res = ses_client.list_identities
  ret = res.identities.select do |identity|
    identity == id
  end
  ret.single_resource(id)
end