diff --git a/Gemfile b/Gemfile index 36d399e..d8da6cb 100644 --- a/Gemfile +++ b/Gemfile @@ -12,7 +12,7 @@ end group :test do gem 'codeclimate-test-reporter', '~> 0.3' - gem 'faker' + gem 'faker', '= 1.7.2' gem 'hashie' gem 'rack-test' gem 'rspec', '~> 3.1' diff --git a/lib/ey-core/models/server.rb b/lib/ey-core/models/server.rb index 1b06fad..838fd99 100644 --- a/lib/ey-core/models/server.rb +++ b/lib/ey-core/models/server.rb @@ -14,6 +14,7 @@ class Ey::Core::Client::Server < Ey::Core::Model attribute :keymaster_id attribute :location attribute :name + attribute :no_deploy attribute :private_hostname attribute :provisioned_at, type: :time attribute :provisioned_id @@ -111,6 +112,7 @@ def save! "dedicated" => self.dedicated, "flavor" => self.flavor_id, "iops" => self.iops, + "no_deploy" => self.no_deploy, "location" => self.location || environment.region, "mnt_volume_size" => self.mnt_volume_size, "name" => self.name,