Sha256: 4a4b99750d7a0c6f64a208ac7acb5a5ff74c0e94b7f4c3085a99682399def322
Contents?: true
Size: 642 Bytes
Versions: 23
Compression:
Stored size: 642 Bytes
Contents
module Fog module Baremetal class OpenStack class Real def get_chassis(chassis_uuid) request( :expects => [200, 204], :method => 'GET', :path => "chassis/#{chassis_uuid}" ) end end # class Real class Mock def get_chassis(chassis_uuid) response = Excon::Response.new response.status = [200, 204][rand(1)] response.body = self.data[:chassis_collection].first response end # def get_chassis end # class Mock end # class OpenStack end # module Baremetal end # module Fog
Version data entries
23 entries across 23 versions & 3 rubygems