1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/sakuracloud.rb

17 lines
474 B
Ruby
Raw Normal View History

require 'fog/core'
2014-03-03 21:57:24 -05:00
require 'fog/sakuracloud/compute'
require 'fog/sakuracloud/volume'
module Fog
module SakuraCloud
extend Fog::Provider
SAKURACLOUD_API_VERSION = '1.1' unless defined? SAKURACLOUD_API_VERSION
SAKURACLOUD_API_ZONE = "is1b" unless defined? SAKURACLOUD_API_ZONE
SAKURACLOUD_API_ENDPOINT = "/cloud/zone/#{SAKURACLOUD_API_ZONE}/api/cloud/#{SAKURACLOUD_API_VERSION}/"
service(:compute, 'Compute')
service(:volume, 'Volume')
end
end