Sha256: dcc0dfab6238f7e4b9607765ec730e0d8d3441cdafdc347054429deb8d4dd4c8

Contents?: true

Size: 591 Bytes

Versions: 25

Compression:

Stored size: 591 Bytes

Contents

module Fog
  module Baremetal
    class OpenStack
      class Real
        def list_chassis_detailed(options = {})
          request(
            :expects => [200, 204],
            :method  => 'GET',
            :path    => 'chassis/detail',
            :query   => options
          )
        end
      end

      class Mock
        def list_chassis_detailed(_options = {})
          response = Excon::Response.new
          response.status = [200, 204][rand(2)]
          response.body = {"chassis" => data[:chassis_collection]}
          response
        end
      end
    end
  end
end

Version data entries

25 entries across 23 versions & 3 rubygems

Version Path
fog-openstack-0.1.31 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.10 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.1.30 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.1.29 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.9 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.1.28 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.8 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.7 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.6 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.5 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.4 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.3 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.2 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.3.0 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.2.4 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.2.3 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.2.2 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.2.1 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-openstack-0.2.0 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb
fog-zj-0.1.28 lib/fog/baremetal/openstack/requests/list_chassis_detailed.rb