# File lib/fog/compute/ecloud/models/ssh_keys.rb, line 25 def create(options = {}) # Make sure we only pass what we should new_options = {} new_options[:Name] = options[:Name] unless options[:Name].nil? new_options[:Default] = options[:Default] || false new_options[:uri] = href + "/action/createSshKey" data = service.ssh_key_create(new_options) object = service.ssh_keys.new(data) object end