Sha256: da6aa5287736e85cb274e4146b3a618b248a68ab6cb322d174cf77d46b95eed3

Contents?: true

Size: 383 Bytes

Versions: 12

Compression:

Stored size: 383 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 # class OpenStack
  end # module Volume
end # module Fog

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
fog-openstack-0.1.10 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.9 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.8 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.7 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.6 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.5 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.4 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.3 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.2 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.1 lib/fog/openstack/requests/volume/set_tenant.rb
fog-openstack-0.1.0 lib/fog/openstack/requests/volume/set_tenant.rb
fog-1.37.0 lib/fog/openstack/requests/volume/set_tenant.rb