Sha256: 3c660f9cba914c7899faad651135b3dc6ebc662b88568e601f3a31f5037baef7

Contents?: true

Size: 402 Bytes

Versions: 4

Compression:

Stored size: 402 Bytes

Contents

module Fog
  module Identity
    class HuaweiCloud
      class V3
        class Real
          def token_authenticate(auth)
            request(
              :expects => [201],
              :method  => 'POST',
              :path    => "auth/tokens",
              :body    => Fog::JSON.encode(auth)
            )
          end
        end

        class Mock
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/identity/huaweicloud/v3/requests/token_authenticate.rb
fog-huaweicloud-0.0.2 lib/fog/identity/huaweicloud/v3/requests/token_authenticate.rb
fog-huaweicloud-0.1.3 lib/fog/identity/huaweicloud/v3/requests/token_authenticate.rb
fog-huaweicloud-0.1.2 lib/fog/identity/huaweicloud/v3/requests/token_authenticate.rb