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:
parent
b211ed2bfb
commit
60697f2437
2 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,7 @@ module Fog
|
|||
class DataCenter < Fog::Model
|
||||
identity :id
|
||||
attribute :location
|
||||
attribute :abbr
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
}]
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue