Skip to content

Instantly share code, notes, and snippets.

@pavel-manylov
pavel-manylov / gist:800196
Created January 28, 2011 12:28
ArrayOfInt for BetFair API
class Array
def to_soap_array_of_int
result=Array.new
self.each do |val|
result.push({"int"=>val.to_i})
end
result
end
end