diff --git a/Gemfile.lock b/Gemfile.lock index 5e8b12be0..36207ed81 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -15,7 +15,7 @@ GEM remote: http://rubygems.org/ specs: builder (3.0.0) - excon (0.5.5) + excon (0.5.6) formatador (0.0.16) json (1.5.1) mime-types (1.16) diff --git a/lib/fog/dns/models/dnsimple/zone.rb b/lib/fog/dns/models/dnsimple/zone.rb index d39550206..1a61c25da 100644 --- a/lib/fog/dns/models/dnsimple/zone.rb +++ b/lib/fog/dns/models/dnsimple/zone.rb @@ -9,7 +9,7 @@ module Fog identity :id - attribute :domain, :aliases => "name" + attribute :domain, :aliases => [:name, 'name'] attribute :created_at attribute :updated_at diff --git a/lib/fog/dns/models/dnsimple/zones.rb b/lib/fog/dns/models/dnsimple/zones.rb index 39858d6e9..6e44a2277 100644 --- a/lib/fog/dns/models/dnsimple/zones.rb +++ b/lib/fog/dns/models/dnsimple/zones.rb @@ -15,7 +15,7 @@ module Fog end def get(zone_id) - data = connection.get_domain(zone_id).body["domain"] + data = connection.get_domain(zone_id).body['domain'] new(data) rescue Excon::Errors::NotFound nil