search for: hit_distribution

Displaying 1 result from an estimated 1 matches for "hit_distribution".

Did you mean: get_distribution
2006 Jan 31
0
How to use nested arrays in ActionWebService?
...red two times and "hit 2 times" occured 400 times. When I try to implement this the following way I get an error ("nil where it was not expected, maybe you wanted an array instead"): class ProductStatistics < ActionWebService::Struct member :name, :string member :hit_distribution, [[:int]] end When I changed this to a flat integer array, it worked: class ProductStatistics < ActionWebService::Struct member :name, :string member :hit_distribution, [:int] end Now, my question: Is it possible to specify that I want nested arrays of integers in my web service API...