Sha256: 9bdbe497578668f9dc0efd8b54af9fd36ee22c090cb44fba917e45fd35cd23c5
Contents?: true
Size: 593 Bytes
Versions: 33
Compression:
Stored size: 593 Bytes
Contents
module Fog module ContainerInfra class OpenStack class Real def create_bay(params) request( :expects => [202, 201, 200], :method => 'POST', :path => "bays", :body => Fog::JSON.encode(params) ) end end class Mock def create_bay(_params) response = Excon::Response.new response.status = 202 response.body = { "uuid" => "746e779a-751a-456b-a3e9-c883d734946f" } response end end end end end
Version data entries
33 entries across 31 versions & 3 rubygems