mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|new_servers] move new_servers compute to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
dbf3941c0f
commit
8e226728cd
10 changed files with 4 additions and 4 deletions
|
@ -27,7 +27,7 @@ module Fog
|
|||
require 'fog/compute/linode'
|
||||
Fog::Compute::Linode.new(attributes)
|
||||
when :newservers
|
||||
require 'fog/compute/new_servers'
|
||||
require 'fog/new_servers/compute'
|
||||
Fog::Compute::NewServers.new(attributes)
|
||||
when :ninefold
|
||||
require 'fog/ninefold/compute'
|
||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
|||
|
||||
extend Fog::Provider
|
||||
|
||||
service(:compute, 'compute/new_servers')
|
||||
service(:compute, 'new_servers/compute')
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,9 +5,9 @@ module Fog
|
|||
requires :new_servers_password, :new_servers_username
|
||||
recognizes :host, :port, :scheme, :persistent
|
||||
|
||||
model_path 'fog/compute/models/new_servers'
|
||||
model_path 'fog/new_servers/models/compute'
|
||||
|
||||
request_path 'fog/compute/requests/new_servers'
|
||||
request_path 'fog/new_servers/requests/compute'
|
||||
request :add_server
|
||||
request :cancel_server
|
||||
request :get_server
|
Loading…
Reference in a new issue