Sha256: 1bf4d011471c066dc51249f038a04ce572e5a0d3ebf272b23e0e4a756ce2848a
Contents?: true
Size: 548 Bytes
Versions: 36
Compression:
Stored size: 548 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_without_retry( :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 & 2 rubygems