lib/yao/resources/keypair.rb in yao-0.2.6 vs lib/yao/resources/keypair.rb in yao-0.2.7
- old
+ new
@@ -6,10 +6,10 @@
self.resource_name = "os-keypair"
self.resources_name = "os-keypairs"
def self.list(query={})
return_resources(
- resources_from_json(GET(resources_name, query).body).map{|r| resource_params(r)}
+ resources_from_json(GET(resources_name, query).body).map{|r| resource_from_json(r)}
)
end
end
end