Sha256: 85ec4076add9d8d733a92dd56ed593b246849b88d31043ce37315371dbb74aae

Contents?: true

Size: 429 Bytes

Versions: 14

Compression:

Stored size: 429 Bytes

Contents

module Fog
  module Image
    class OpenStack
      class V1
        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
  end # module Image
end # module Fog

Version data entries

14 entries across 14 versions & 1 rubygems

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