Sha256: 888d3429a8bc49d9440e3fbd10e9de866ab0aeb0b51f33967cba21f6670b61b8
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
module BusinessCatalyst module CSV class CatalogRow < Row # [Header, method, default, transformer] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
business_catalyst-0.1.2 | lib/business_catalyst/csv/catalog_row.rb |