Sha256: 3be2e1cdc5972926f6090ea090dcdb6e64d06734a0d1f5c0dbd5e1cd9dd9198f

Contents?: true

Size: 336 Bytes

Versions: 76

Compression:

Stored size: 336 Bytes

Contents

module Fog
  module Network
    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
  end
end

Version data entries

76 entries across 76 versions & 10 rubygems

Version Path
fog-maestrodev-1.15.0.20130927082724 lib/fog/openstack/requests/network/set_tenant.rb
fog-maestrodev-1.15.0.20130829165835 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.15.0 lib/fog/openstack/requests/network/set_tenant.rb
gapinc-fog-1.14.0 lib/fog/openstack/requests/network/set_tenant.rb
fog-maestrodev-1.14.0.20130806165225 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.14.0 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.13.0 lib/fog/openstack/requests/network/set_tenant.rb
gapinc-fog-1.12.1.2 lib/fog/openstack/requests/network/set_tenant.rb
gapinc-fog-1.12.1.1 lib/fog/openstack/requests/network/set_tenant.rb
gapinc-fog-1.12.1a lib/fog/openstack/requests/network/set_tenant.rb
gapinc-fog-1.12.1 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.12.1 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.12.0 lib/fog/openstack/requests/network/set_tenant.rb
hpfog-0.0.20 lib/fog/openstack/requests/network/set_tenant.rb
vagrant-shell-0.2.6 vendor/bundle/gems/fog-1.10.1/lib/fog/openstack/requests/network/set_tenant.rb
vagrant-shell-0.2.5 vendor/bundle/gems/fog-1.10.1/lib/fog/openstack/requests/network/set_tenant.rb
fog-nirvanix-1.8.2 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.11.1 lib/fog/openstack/requests/network/set_tenant.rb
fog-1.11.0 lib/fog/openstack/requests/network/set_tenant.rb
fog-nirvanix-1.8.1 lib/fog/openstack/requests/network/set_tenant.rb