Sha256: b901aaf8ace6f660b971f55be15b68ea19d82fcc12e9591b37edb66110549193
Contents?: true
Size: 1.06 KB
Versions: 2
Compression:
Stored size: 1.06 KB
Contents
module BusinessCatalyst module CSV class CatalogRow < Row COLUMNS = [ ["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 ] def self.columns COLUMNS end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
business_catalyst-0.1.1 | lib/business_catalyst/csv/catalog_row.rb |
business_catalyst-0.1.0 | lib/business_catalyst/csv/catalog_row.rb |