Class: BusinessCatalyst::CSV::CatalogRow
- Defined in:
- lib/business_catalyst/csv/catalog_row.rb
Constant Summary collapse
- COLUMNS =
- Header, method, default, transformer
[ ["Catalog Name/Heirarchy", :catalog_name_hierarchy, nil, CatalogTransformer], ["Description", :description], ["Image", :image], ["Weighting", :weighting], ["Release Date", :release_date], ["Expiry Date", :expiration_date], ["Template ID", :template_id, 0, TemplateIDTransformer], ["Enabled", :enabled?, true, BooleanTransformer], ["Enable XML Feed", :enable_xml_feed?, true, BooleanTransformer], ["Show Product Prices", :show_product_prices?, true, BooleanTransformer], ["Catalog Title", :catalog_title], ["Browse Panel Min Price", :browse_panel_min_price, nil, CurrencyTransformer], ["Browse Panel Max Price", :browse_panel_max_price, nil, CurrencyTransformer], ["Browse Panel Slots", :browse_panel_min_slots], ["SEO Friendly URL", :seo_friendly_url, nil, SEOFriendlyUrlTransformer] # Must be globally unique ]
Class Method Summary collapse
Methods inherited from Row
#csv_value, default_currency, generate, headers, #initialize, map, #to_a
Constructor Details
This class inherits a constructor from BusinessCatalyst::CSV::Row
Class Method Details
.columns ⇒ Object
24 25 26 |
# File 'lib/business_catalyst/csv/catalog_row.rb', line 24 def self.columns COLUMNS end |