Method: Standup::EC2::ElasticIP.create

Defined in:
lib/standup/ec2/elastic_ip.rb

.createObject



22
23
24
25
# File 'lib/standup/ec2/elastic_ip.rb', line 22

def self.create
  ip = api.allocate_address.publicIp
  list[ip] = ElasticIP.new ip
end