# File lib/fog/softlayer/requests/compute/create_key_pair.rb, line 13 def create_key_pair(opts) response = Excon::Response.new response.status = 200 response.body = [] response.body = { "createDate" => Time.now.iso8601, "fingerprint" => "1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a:1a", "id" => Fog::Mock.random_numbers(5).to_i, "key" => opts[:key], "label" => opts[:label], "modifyDate" => nil } @key_pairs.push(response.body) response end