Sha256: 52f13a1344d99742cd4a5a9dd8b696d70f940c462edc50be9e86761ef15bb63c

Contents?: true

Size: 384 Bytes

Versions: 14

Compression:

Stored size: 384 Bytes

Contents

module Fog
  module Compute
    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

14 entries across 14 versions & 1 rubygems

Version Path
fog-openstack-0.1.25 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.24 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.23 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.22 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.21 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.20 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.19 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.18 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.17 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.15 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.14 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.13 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.12 lib/fog/compute/openstack/requests/set_tenant.rb
fog-openstack-0.1.11 lib/fog/compute/openstack/requests/set_tenant.rb