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



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

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