Sha256: 5387e93291dad42f20827b55199abc367110f885fbd4ba74d92962f7ef24df05
Contents?: true
Size: 637 Bytes
Versions: 15
Compression:
Stored size: 637 Bytes
Contents
module Fog module Compute class Google class Real include Fog::Google::Shared attr_accessor :client attr_reader :compute, :extra_global_projects def initialize(options) shared_initialize(options[:google_project], GOOGLE_COMPUTE_API_VERSION, GOOGLE_COMPUTE_BASE_URL) options[:google_api_scope_url] = GOOGLE_COMPUTE_API_SCOPE_URLS.join(" ") initialize_google_client(options) @compute = ::Google::Apis::ComputeV1::ComputeService.new @extra_global_projects = options[:google_extra_global_projects] || [] end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems