# File lib/aws/ec2/elastic_ip_collection.rb, line 25 def create options = {} client_opts = {} client_opts[:domain] = 'vpc' if options[:vpc] response = client.allocate_address(client_opts) ElasticIp.new(response.public_ip, :config => config) end