lib/fog/compute/terremark.rb in fog-terremark-0.0.4 vs lib/fog/compute/terremark.rb in fog-terremark-0.1.0
- old
+ new
@@ -1,16 +1,16 @@
module Fog
module Compute
class Terremark < Fog::Service
- autoload :Common, 'fog/compute/terremark/common'
- autoload :Parser, 'fog/compute/terremark/parser'
- autoload :Real, 'fog/compute/terremark/real'
- autoload :Mock, 'fog/compute/terremark/mock'
+ autoload :Common, File.expand_path("../terremark/common", __FILE__)
+ autoload :Parser, File.expand_path("../terremark/parser", __FILE__)
+ autoload :Real, File.expand_path("../terremark/real", __FILE__)
+ autoload :Mock, File.expand_path("../terremark/mock", __FILE__)
requires :terremark_vcloud_username, :terremark_vcloud_password
- model_path 'fog/compute/terremark/models'
+ model_path "fog/compute/terremark/models"
model :address
collection :addresses
model :image
collection :images
model :internetservice
@@ -24,10 +24,10 @@
model :task
collection :tasks
model :vdc
collection :vdcs
- request_path 'fog/compute/terremark/requests'
+ request_path "fog/compute/terremark/requests"
request :add_internet_service
request :add_node_service
request :configure_vapp
request :create_internet_service
request :delete_internet_service
\ No newline at end of file