Sha256: 19873177de4de5056bcf46e4655eea740eabb206c719ba86bac8dae044153bc1

Contents?: true

Size: 873 Bytes

Versions: 1

Compression:

Stored size: 873 Bytes

Contents

module ReportUi
  module Schema

    def reporter(options={})
      null = options[:null] || false
      default = options[:default] || ""

      apply_reporter_schema :name         , String, :null => null, :default => default, :limit => 200
      apply_reporter_schema :description  , String, :null => null, :default => default, :limit => 500
      apply_reporter_schema :code         , String, :null => null, :default => default, :limit => 700
      apply_reporter_schema :used_columns , String, :null => null, :default => default, :limit => 1000
      apply_reporter_schema :includes     , String, :null => null, :default => default, :limit => 200
      apply_reporter_schema :sorts        , String, :null => null, :default => default, :limit => 600
      apply_reporter_schema :filters      , String, :null => null, :default => default, :limit => 600
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
report_ui-0.0.1.alpha lib/report_ui/schema.rb