Sha256: 4d82f57cc7d63ebbed4779a84bb77b0daabe97b0505515b22e781ac0e6df8c10

Contents?: true

Size: 381 Bytes

Versions: 26

Compression:

Stored size: 381 Bytes

Contents

module Fog
  module Image
    class OpenStack
      class Real
        def set_tenant(tenant)
          @openstack_must_reauthenticate = true
          @openstack_tenant = tenant.to_s
          authenticate
        end
      end

      class Mock
        def set_tenant(tenant)
          true
        end
      end
    end # class OpenStack
  end # module Compute
end # module Fog

Version data entries

26 entries across 26 versions & 4 rubygems

Version Path
fog-2.0.0.pre.0 lib/fog/openstack/requests/image/set_tenant.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/openstack/requests/image/set_tenant.rb
fog-1.34.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.33.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.32.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.31.0 lib/fog/openstack/requests/image/set_tenant.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/openstack/requests/image/set_tenant.rb
fog-1.30.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.29.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.28.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.27.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.26.0 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.25.0 lib/fog/openstack/requests/image/set_tenant.rb
nsidc-fog-1.24.1 lib/fog/openstack/requests/image/set_tenant.rb
fog-1.24.0 lib/fog/openstack/requests/image/set_tenant.rb
ns-fog-1.22.11 lib/fog/openstack/requests/image/set_tenant.rb
ns-fog-1.22.10 lib/fog/openstack/requests/image/set_tenant.rb
ns-fog-1.22.9 lib/fog/openstack/requests/image/set_tenant.rb
ns-fog-1.22.8 lib/fog/openstack/requests/image/set_tenant.rb
ns-fog-1.22.7 lib/fog/openstack/requests/image/set_tenant.rb