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

Add abbr attribute to Linode DataCenter.

This commit is contained in:
Phil Ross 2015-10-24 15:03:35 +01:00
parent b211ed2bfb
commit 60697f2437
2 changed files with 3 additions and 1 deletions

View file

@ -6,6 +6,7 @@ module Fog
class DataCenter < Fog::Model
identity :id
attribute :location
attribute :abbr
end
end
end

View file

@ -3,7 +3,8 @@ Shindo.tests('Fog::Compute[:linode] | datacenter requests', ['linode']) do
@datacenters_format = Linode::Compute::Formats::BASIC.merge({
'DATA' => [{
'DATACENTERID' => Integer,
'LOCATION' => String
'LOCATION' => String,
'ABBR' => String
}]
})