Sha256: 2694b6fe2369c8c6df89dd695c425431dc3f80990bc082fdd54370ae366b6b46

Contents?: true

Size: 771 Bytes

Versions: 6

Compression:

Stored size: 771 Bytes

Contents

module Schemata
  module Schema
    def menuable
      apply_schema :title, String
      apply_schema :cable_menuable_id , Integer
      apply_schema :cable_menuable_type, String
      apply_schema :parent_id, Integer
      apply_schema :lft, Integer
      apply_schema :rgt, Integer
      apply_schema :url, String
      apply_schema :menu_identifier, String
      apply_schema :show_in_menu, :boolean, :default => true
      apply_schema :meta_description, String
      apply_schema :meta_keywords, String
      apply_schema :special_action, String
      apply_schema :marketable_url, String
      apply_schema :show_on_landing_page, :boolean
      apply_schema :template, String
      apply_schema :tree_id, Integer
      apply_schema :options, :text
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
cable-0.9.17 lib/cable/schema/menuable.rb
cable-0.9.16 lib/cable/schema/menuable.rb
cable-0.9.15 lib/cable/schema/menuable.rb
cable-0.9.14 lib/cable/schema/menuable.rb
cable-0.9.13 lib/cable/schema/menuable.rb
schemata-0.0.0 lib/schemata/schema/menuable.rb