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
}]
})