class Fog::AWS::SES::Domains

Public Instance Methods

all() click to toggle source
# File lib/fog/aws/models/ses/domains.rb, line 9
def all
  data = service.list_identities('Type'=> 'Domain').body['Identities'].map{ |name| { 'Domain' => name } }
  load(data)
end
get(domain, with_inbox: false) click to toggle source
# File lib/fog/aws/models/ses/domains.rb, line 14
def get(domain, with_inbox: false)
  if (result = self.all.select{ |identity| identity.name == domain }.first)
    result.with_inbox = with_inbox
  end
  result
end