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

[dnsimple|dns] small model fixes

This commit is contained in:
geemus 2011-02-25 11:25:59 -08:00
parent f60ad1cc5f
commit def3be4bb3
3 changed files with 3 additions and 3 deletions

View file

@ -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)

View file

@ -9,7 +9,7 @@ module Fog
identity :id
attribute :domain, :aliases => "name"
attribute :domain, :aliases => [:name, 'name']
attribute :created_at
attribute :updated_at

View file

@ -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