Sha256: 5c36eb0ef1edb7d723ab15762d5e85c931084bae30d9124c5aa74056fab427b3
Contents?: true
Size: 810 Bytes
Versions: 1
Compression:
Stored size: 810 Bytes
Contents
class TestReporting < Reporting attr_reader :aggregate_calls filter :name, :default => 'foobar' filter :from_date, :type => :date filter :to_date, :type => :date filter :in_foo select_default %w(name age) group_by_default %w(name) column :name, :type => :string column :age, :type => :number, :grouping => true column :address, :type => :string, :grouping => true column :fullname, :type => :string, :requires => :name column :fullfullname, :type => :string, :requires => :fullname column :circle_a, :requires => :circle_b column :circle_b, :requires => :circle_a def initialize(*args) #@select = %w(name age) @aggregate_calls = 0 super(*args) end def aggregate @aggregate_calls += 1 [] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
google_data_source-0.7.6 | test/lib/test_reporting.rb |