Sha256: 385b6be41358799dc04826d46436ac3b314c584278f122c04f79c713505e387a

Contents?: true

Size: 337 Bytes

Versions: 25

Compression:

Stored size: 337 Bytes

Contents

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

      module Mock
        def set_tenant(_tenant)
          true
        end
      end
    end
  end
end

Version data entries

25 entries across 23 versions & 3 rubygems

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