mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #360 from brightbox/master
Updated format tests due to API changes
This commit is contained in:
commit
b4b6375c72
1 changed files with 14 additions and 5 deletions
|
@ -55,13 +55,16 @@ class Brightbox
|
|||
module Nested
|
||||
ACCOUNT = {
|
||||
"name" => String,
|
||||
"ram_used" => Integer,
|
||||
"resource_type" => String,
|
||||
"ram_limit" => Integer,
|
||||
"url" => String,
|
||||
"id" => String,
|
||||
"status" => String,
|
||||
"limits_cloudips" => Integer
|
||||
"ram_limit" => Integer,
|
||||
"ram_used" => Integer,
|
||||
"cloud_ips_limit" => Integer,
|
||||
"cloud_ips_used" => Integer,
|
||||
"load_balancers_limit" => Integer,
|
||||
"load_balancers_used" => Integer
|
||||
}
|
||||
|
||||
API_CLIENT = {
|
||||
|
@ -69,7 +72,8 @@ class Brightbox
|
|||
"resource_type" => String,
|
||||
"url" => String,
|
||||
"name" => String,
|
||||
"description" => String
|
||||
"description" => String,
|
||||
"revoked_at" => Fog::Nullable::String
|
||||
}
|
||||
|
||||
CLOUD_IP = {
|
||||
|
@ -149,6 +153,7 @@ class Brightbox
|
|||
"url" => String,
|
||||
"name" => String,
|
||||
"description" => String,
|
||||
"revoked_at" => Fog::Nullable::String,
|
||||
"account" => Brightbox::Compute::Formats::Nested::ACCOUNT
|
||||
}
|
||||
|
||||
|
@ -266,7 +271,10 @@ class Brightbox
|
|||
"created_at" => String,
|
||||
"ram_limit" => Integer,
|
||||
"ram_used" => Integer,
|
||||
"limits_cloudips" => Integer,
|
||||
"cloud_ips_limit" => Integer,
|
||||
"cloud_ips_used" => Integer,
|
||||
"load_balancers_limit" => Integer,
|
||||
"load_balancers_used" => Integer,
|
||||
"library_ftp_host" => String,
|
||||
"library_ftp_user" => String,
|
||||
"library_ftp_password" => Fog::Nullable::String,
|
||||
|
@ -287,6 +295,7 @@ class Brightbox
|
|||
"url" => String,
|
||||
"name" => String,
|
||||
"description" => String,
|
||||
"revoked_at" => Fog::Nullable::String,
|
||||
"secret" => Fog::Nullable::String,
|
||||
"account" => Brightbox::Compute::Formats::Nested::ACCOUNT
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue