Sha256: 6144415157ae87b5d46474570a9aee2dcaebd2017e0c4a4c3379c64b1f1aad77
Contents?: true
Size: 738 Bytes
Versions: 30
Compression:
Stored size: 738 Bytes
Contents
module Fog module Compute class Google class Mock def list_zones zones = self.data[:zones].values build_response(:body => { "kind" => "compute#zoneList", "selfLink" => "https://www.googleapis.com/compute/#{api_version}/projects/#{@project}/zones", "id" => "projects/#{@project}/zones", "items" => zones }) end end class Real def list_zones api_method = @compute.zones.list parameters = { 'project' => @project } result = self.build_result(api_method, parameters) response = self.build_response(result) end end end end end
Version data entries
30 entries across 30 versions & 2 rubygems