1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[aws|elb] attribute aliases for CanonicalHostedZoneName(ID). ✌️

This commit is contained in:
Dylan Egan 2011-11-08 14:12:01 -05:00
parent dd2ba7904d
commit 6c05616704

View file

@ -12,6 +12,8 @@ module Fog
attribute :health_check, :aliases => 'HealthCheck'
attribute :instances, :aliases => 'Instances'
attribute :source_group, :aliases => 'SourceSecurityGroup'
attribute :hosted_zone_name, :aliases => 'CanonicalHostedZoneName'
attribute :hosted_zone_name_id, :aliases => 'CanonicalHostedZoneNameID'
def initialize(attributes={})
attributes[:availability_zones] ||= attributes['AvailabilityZones'] || %w(us-east-1a us-east-1b us-east-1c us-east-1d)