Sha256: 5663d0db23852e88b662b41d39c7b1439f945eeb2cd04f6face8a8d39435c1fe
Contents?: true
Size: 615 Bytes
Versions: 1
Compression:
Stored size: 615 Bytes
Contents
# frozen_string_literal: true module Fog module Compute class CloudAtCost class Real def list_templates request( expects: [200], method: 'GET', path: '/api/v1/listtemplates.php' ) end end # noinspection RubyStringKeysInHashInspection class Mock def list_templates response = Excon::Response.new response.status = 200 response.body = { 'status' => 'OK', 'servers' => data[:data] } response end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-cloudatcost-0.4.0 | lib/fog/cloudatcost/requests/list_templates.rb |