mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
16 lines
474 B
Ruby
16 lines
474 B
Ruby
require 'fog/core'
|
|
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
|