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

[aws|dns] fix capitilization for records#all options

This commit is contained in:
geemus 2011-12-13 12:07:54 -06:00
parent ca09023931
commit 71d52a51bf

View file

@ -20,9 +20,9 @@ module Fog
def all(options = {}) def all(options = {})
requires :zone requires :zone
options['MaxItems'] ||= max_items options['maxitems'] ||= max_items
options['Name'] ||= name options['name'] ||= name
options['Type'] ||= type options['type'] ||= type
data = connection.list_resource_record_sets(zone.id, options).body data = connection.list_resource_record_sets(zone.id, options).body
merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType'].include?(key)}) merge_attributes(data.reject {|key, value| !['IsTruncated', 'MaxItems', 'NextRecordName', 'NextRecordType'].include?(key)})
# leave out the default, read only records # leave out the default, read only records