Sha256: 6b143e525f23ac2a04668043454b4302d01fd64278fd7971e7b1003a8be1cfac
Contents?: true
Size: 534 Bytes
Versions: 36
Compression:
Stored size: 534 Bytes
Contents
module Fog module Rackspace class Identity class Real def create_token(username, api_key) data = { 'auth' => { 'RAX-KSKEY:apiKeyCredentials' => { 'username' => username, 'apiKey' => api_key } } } request( :body => Fog::JSON.encode(data), :expects => [200, 203], :method => 'POST', :path => 'tokens' ) end end end end end
Version data entries
36 entries across 36 versions & 11 rubygems